Fix for invlid caching of 8 color scheme

Fixes a problem where only the first 8 colors are used due to invalid caching.
Merge pull request #2 from callesg/patch-1

Fix for invlid caching of 8 color scheme