 
 extension UIColor {
     
-    convenience init?(hexARGBString:String) {
+    public convenience init?(hexARGBString:String) {
         let hex3 = "^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$"
         let hex6 = "^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$"
         let hex8 = "^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$"


extension UIColor {
    
    func hsba() -> (h:Float, s:Float, b:Float, a:Float) {
        var hue : CGFloat = 0
        var saturation : CGFloat = 0
        var brightness : CGFloat = 0

        return (h, s, l, components.a)
    }
    
    public func hslaArray() -> [Float] {
        let components = hsla()
        return [components.h, components.s, components.l, components.a]
    }
