     
 }
 
-extension String {
+public extension String {
     
-    var color: Color {
+    public var color: Color {
         return Color(hexString: self)
     }
     
 }
 
-extension Int {
+public extension Int {
     
-    var color: Color {
+    public var color: Color {
         return Color(hexInt: self)
     }
     

        self.init(red: red, green: green, blue: blue, alpha: mAlpha)
    }
    
    func alpha(value: Float) -> Color {
        var (red, green, blue, alpha) = getColorComponents()
        return Color(red: red, green: green, blue: blue, alpha: CGFloat(value))
    }
    
    func red(value: Int) -> Color {
        var (red, green, blue, alpha) = getColorComponents()
        return Color(red: CGFloat(value)/255.0, green: green, blue: blue, alpha: alpha)
    }
    
    func green(value: Int) -> Color {
        var (red, green, blue, alpha) = getColorComponents()
        return Color(red: red, green: CGFloat(value)/255.0, blue: blue, alpha: alpha)
    }
    
    func blue(value: Int) -> Color {
        var (red, green, blue, alpha) = getColorComponents()
        return Color(red: red, green: green, blue: CGFloat(value)/255.0, alpha: alpha)
    }
    
    func getColorComponents() -> (CGFloat, CGFloat, CGFloat, CGFloat) {
        var red: CGFloat = 0
        var green: CGFloat = 0
        var blue: CGFloat = 0

    
}

public extension Color {
    
    public class var black: Color {
        return self.blackColor()
