Label:Refactoring related functions of color.