Use a function for creating color scheme.