             )
         }
 
-        if (cString.characters.count == 8) {
+        if cString.characters.count == 8 {
             var rgbValue: UInt32 = 0
             Scanner(string: cString).scanHexInt32(&rgbValue)
 

            cString = paddedString
        }

        if (cString.characters.count == 6) {
            var rgbValue: UInt32 = 0
            Scanner(string: cString).scanHexInt32(&rgbValue)


        var cursorLoc: CGPoint = CGPoint(x: 0, y: 0)
        let pathRef = CGMutablePath()
        var instructionStartIndex: Int = 0
        var instructions: [String] = instructionString.components(separatedBy: " ")
        for i in 0..<instructions.count {
            if i < instructionStartIndex {
                continue
