add default color, also correct the algorithm to generate light color