Added hex color functions

HexToColor should just be done C++ side like HSVToColor.