Refactor String to color conversion & definition of rgb colors