Use only minimum color functions

Rather than unnecessarily inflating file size with an entire color
library, this commit removes the library and replaces it with only
the minimal set of color functions needed for pattern generation.
Merge pull request #2 from btmills/color

Use only minimum color functions