Add shortNames colors optimization.

some color names are shorter than hex