Here is a small function that lets you convert a hexadecimal color code with or without alpha layer. They allow me to convert of object UIColor from color style...