using hash table for data structure for colors
ensured gray is always returned for gray/grey rgb color
foo
foo
foo
foo