Moved hex methods for color into DTColorFunctions

To avoid conflicts with other libraries 3 methods were converted to be C-functions instead.