my_palette function

Internal function for colors