         }
     }
 
-    class func whiteColor() -> CGColor { return NSColor.whiteColor().CGColor }
-    class func blackColor() -> CGColor { return NSColor.blackColor().CGColor }
-    class func redColor() -> CGColor { return NSColor.redColor().CGColor }
-    class func greenColor() -> CGColor { return NSColor.greenColor().CGColor }
-    class func blueColor() -> CGColor { return NSColor.blueColor().CGColor }
+    // There's a possibility that these colours dont match UIColor's or NSColor's version (although they are taken from the NSColor header file)
+    class func blackColor() -> CGColor { return CGColor.color(white:0) }
+    class func darkGrayColor() -> CGColor { return CGColor.color(white:0.333) }
+    class func lightGrayColor() -> CGColor { return CGColor.color(white:0.667) }
+    class func whiteColor() -> CGColor { return CGColor.color(white:1) }
+    class func grayColor() -> CGColor { return CGColor.color(white:0.5) }
+    class func redColor() -> CGColor { return CGColor.color(red:1, green:0, blue:0) }
+    class func greenColor() -> CGColor { return CGColor.color(red:0, green:1, blue:0) }
+    class func blueColor() -> CGColor { return CGColor.color(red:0, green:0, blue:1) }
+    class func cyanColor() -> CGColor { return CGColor.color(red:0, green:1, blue:1) }
+    class func yellowColor() -> CGColor { return CGColor.color(red:1, green:1, blue:0) }
+    class func magnetaColor() -> CGColor { return CGColor.color(red:0, green:1, blue:1) }
+    class func orangeColor() -> CGColor { return CGColor.color(red:1, green:0.5, blue:0) }
+    class func purpleColor() -> CGColor { return CGColor.color(red:0.5, green:0.0, blue:0.5) }
+    class func brownColor() -> CGColor { return CGColor.color(red:0.6, green:0.4, blue:0.2) }
+    class func clearColor() -> CGColor { return CGColor.color(white:0.0, alpha:0.0) }
 }

//  Copyright (c) 2015 schwa.io. All rights reserved.
//

import Foundation

#if os(OSX)
import AppKit

}

public extension CGColorSpace {
#if os(OSX)
    var name:String {
        return CGColorSpaceCopyName(self)
    }
#endif
}

public extension CGColor {
