ColorUtil helper class to detect / convert color values