                     // RGB
                     // ARGB
                     let hex = String(color!.hexRgb)
-                    outputStr.appendContentsOf("\t<color name=\"\(key.lowercaseString)\">\(hex)</color>\n")
+                    outputStr.appendContentsOf("\t<color name=\"\(key)\">\(hex)</color>\n")
                 }
             }
             outputStr.appendContentsOf("</resources>\n")

                    useQuotes = true
                    if (strValue.isNumber() == true) {
                        useQuotes = false
                    }
                    else {
                        type = "String"

                        if (color != nil) {
                            skipValue = true
                            // ok, we have a color, so we're going to store it
                            let colorKey = name + "_\(key)"
                            androidColors![colorKey.lowercaseString] = strValue
                        }
                        else {
                            skipClass = false
                        }
                    }
                }
                else {
                    skipClass = false
                }
                if (skipValue == false) {
                    let line = "\tpublic static final " + type + " " + key.uppercaseString + " = "
                    outputClassString.appendContentsOf(line)
                    if (useQuotes) {
                        let line = "\"" + strValue + "\";"
                        outputClassString.appendContentsOf(line);
                    }
                    else {
                        let line = strValue + ";"
                        outputClassString.appendContentsOf(line);
                    }
                    outputClassString.appendContentsOf("\n")
                }
            }
            if (skipClass == false) {
                outputString.appendContentsOf("public final class ")
                outputString.appendContentsOf(name + " {\n")
                outputString.appendContentsOf(outputClassString)
                outputString.appendContentsOf("}")
            }
        }
        else {
            print("Error: invalide output type")
