     private static let RESET_BG = ESCAPE + "bg;" // Clear any background color
     private static let RESET = ESCAPE + ";"      // Clear any foreground or background color
     
-    static func infoColor<T>(object:T) -> String {
-        return "\(ESCAPE)fg120,120,120;\(object)\(RESET)"
-    }
-    
-    static func purple<T>(object:T) -> String {
-        return "\(ESCAPE)fg160,32,240;\(object)\(RESET)"
-    }
-    
-    static func lightGreen<T>(object:T) -> String {
-        return "\(ESCAPE)fg0,180,180;\(object)\(RESET)"
-    }
-    //0 255 255
-    static func green<T>(object:T) -> String {
-        return "\(ESCAPE)fg0,150,0;\(object)\(RESET)"
-    }
-    
-    static func yellow<T>(object:T) -> String {
-        return "\(ESCAPE)fg255,190,0;\(object)\(RESET)"
-    }
-    
-//    static func orange<T>(object:T) -> String {
-//        return "\(ESCAPE)fg255,128,0;\(object)\(RESET)"
-//    }
-    
-    static func red<T>(object:T) -> String {
-        return "\(ESCAPE)fg255,0,0;\(object)\(RESET)"
-    }
-    
+    static func colorizeString<T>(object: T, colorId: Int) -> String {
+        return "\(ESCAPE)fg\(QorumLogs.colorsForLogLevels[colorId].redC),\(QorumLogs.colorsForLogLevels[colorId].greenC),\(QorumLogs.colorsForLogLevels[colorId].blueC);\(object)\(RESET)"
+    }
 }
 
 private func versionAndBuild() -> String {

    let filename = file.ns.lastPathComponent.ns.stringByDeletingPathExtension
    if QorumLogs.shouldPrintLine(level: level, fileName: filename) {
        let informationPart = "\(filename).\(function)[\(line)]:"
        print(ColorLog.infoColor(informationPart), terminator: "")
        print(" \(ColorLog.green(info))\n", terminator: "")
    } else if QorumOnlineLogs.shouldSendLine(level: level, fileName: filename) {
        let informationPart = "\(filename).\(function)[\(line)]"
        QorumOnlineLogs.sendError(classInformation: informationPart, textObject: info, level: levelText)

    let filename = file.ns.lastPathComponent.ns.stringByDeletingPathExtension
    if QorumLogs.shouldPrintLine(level: level, fileName: filename) {
        let informationPart = "\(filename).\(function)[\(line)]:"
        printLog(informationPart, text: warning, level: level)
    } else if QorumOnlineLogs.shouldSendLine(level: level, fileName: filename) {
        let informationPart = "\(filename).\(function)[\(line)]"
        QorumOnlineLogs.sendError(classInformation: informationPart, textObject: warning, level: levelText)
