         return (iRed, iGreen, iBlue, iAlpha)
     }
     
-    func rgbaArray() -> [Int] {
+    public func rgbaArray() -> [Int] {
         let components = rgba()
         return [components.r, components.g, components.b, components.a]
     }

        var t = t1
        if(t < 0) {t += 1}
        if(t > 1) {t -= 1}
        if(t < 1.0/6.0) {return p + (q - p) * 6.0 * t }
        if(t < 1.0/2.0) {return q }
        if(t < 2.0/3.0) { return p + (q - p) * (2.0/3.0 - t) * 6.0 }
        return p;
    }
    
    func hsla() -> (h:Float, s:Float, l:Float, a:Float) {
        let components = rgbaf()
        let minComponent = min(components.r, components.g, components.b)
        let maxComponent = max(components.r, components.g, components.b)


// MARK: - Eqauality operators

public func ==(lhs:UIColor, rhs:UIColor) -> Bool {
    let lhsRGBA = lhs.rgba()
    let rhsRGBA = rhs.rgba()
    
