Ref #31: Add functions to deal with rgb(r,g,b) and rgb(r%,g%,b%)