         return "#\(red)\(green)\(blue)"
     }
     
-
+    /**
+     Get color components (RGBA) from UIColor
+     
+     - returns: color components as RGBA.
+     */
     func colorComponents() -> ColorComponents {
         
         var r: CGFloat = 0

        return UIColor(red: r, green: g, blue: b, alpha: 1)
    }
    
    func hexString() -> String {
        let rgbaT = self.colorComponents()
        let r: Int = Int(rgbaT.red * 255)


public extension UIColor{
    
    /**
     Create UIColor from HEX string
     
     - parameter hexString: hex color code
     
     - returns: UIColor object
     */
    func colorFromHexString(hexString:String!)->UIColor?
    {
        var rgbValue:UInt64 = 0;
