A CodePen by Bermon Painter. Color functions