Converts two colors to less function calls on one color