Added some helper functions for generating color values.