I would to see a built-in (or added to share class) function like
PHP Code:
getColorName( colorCode);
so getColorName( 0); would return black and so on. Also a reverse of this getColorCode( "black"); would return 0 and so on.
One more thing. when setting colors by code, 169 is yellow green, where if it is 20 + 143 are all the colors 162 should be yellow green.