implemented some color methods

copied the color functions and gama correction table from this source
https://github.com/adafruit/RGB-matrix-Panel