add rgb function
Merge pull request #1 from reeedstudio/master

add rgb function