move color functions and globals to their own helper file
Merge pull request #56 from lawmay/master

move color functions and globals to their own helper file