     
     /// A CGColor representation of the current color.
     ///
-    ///     let c = C4Color()
-    ///     let cg = c.CGColor
+    /// ````
+    /// let c = C4Color()
+    /// let cg = c.CGColor
+    /// ````
     ///
     /// - returns: CGColorRef object that matches the color's `internalColor` property
-    
     public var CGColor: CGColorRef {
         get {
             return internalColor

    
    /// Initializes and returns a new C4Color object based on a provided UIColor object.
    ///
    ///     let c = C4Color(UIColor.redColor())
    ///
    /// - parameter color: A UIColor object whose components will be extrated to create a new C4Color.
    
    public convenience init(_ color: UIColor) {
        self.init(color.CGColor)
    }

    
    /// Initializes and returns a new C4Color object based on specified color values.
    ///
    /// ````
    /// let c = C4Color(red: 1.0, green: 0.0, blue: 0.0, alpha: 1.0)
    /// ````
    ///
    /// - parameter red:   The red value for the new color [0.0 ... 1.0]
    /// - parameter green: The green value for the new color [0.0 ... 1.0]
    /// - parameter blue:  The blue value for the new color [0.0 ... 1.0]
    /// - parameter alpha: The alpha value for the new color [0.0 ... 1.0]
    public init(red: Double, green: Double, blue: Double, alpha: Double) {
        colorSpace = CGColorSpaceCreateDeviceRGB()!
        internalColor = CGColorCreate(colorSpace, [CGFloat(red), CGFloat(green), CGFloat(blue), CGFloat(alpha)])!
