Added a method to get hex from UIColor. Fixed CMYK bug. Optimized the methods.