changes to color functions