simplify color code