how to write colors in rgb format