Working with color functions