Change color functions to defines. Fixes #10