     
     var dict: Dictionary = Dictionary<String, UIColor>()
 
-    dict[self.kAnalyzedBackgroundColor] = backgroundColor
+    dict[self.analyzedBackgroundColor] = backgroundColor
     
     if primaryColor == nil {
       if darkBackground {
-        dict[self.kAnalyzedPrimaryColor] = UIColor.whiteColor()
+        dict[self.analyzedPrimaryColor] = UIColor.whiteColor()
       } else {
-        dict[self.kAnalyzedPrimaryColor] = UIColor.blackColor()
+        dict[self.analyzedPrimaryColor] = UIColor.blackColor()
       }
     } else {
-      dict[self.kAnalyzedPrimaryColor] = primaryColor.memory
+      dict[self.analyzedPrimaryColor] = primaryColor.memory
     }
 
     
     if secondaryColor == nil {
       if darkBackground {
-        dict[self.kAnalyzedSecondaryColor] = UIColor.whiteColor()
+        dict[self.analyzedSecondaryColor] = UIColor.whiteColor()
       } else {
-        dict[self.kAnalyzedSecondaryColor] = UIColor.blackColor()
+        dict[self.analyzedSecondaryColor] = UIColor.blackColor()
       }
     } else {
-      dict[self.kAnalyzedSecondaryColor] = secondaryColor.memory
+      dict[self.analyzedSecondaryColor] = secondaryColor.memory
     }
 
     
     if detailColor == nil {
       if darkBackground {
-        dict[self.kAnalyzedDetailColor] = UIColor.whiteColor()
+        dict[self.analyzedDetailColor] = UIColor.whiteColor()
       } else {
-        dict[self.kAnalyzedDetailColor] = UIColor.blackColor()
+        dict[self.analyzedDetailColor] = UIColor.blackColor()
       }
     } else {
-      dict[self.kAnalyzedDetailColor] = detailColor.memory
+      dict[self.analyzedDetailColor] = detailColor.memory
     }
     
     return dict

  private func processImage() {
    var colors: [String: UIColor] = self.analyzeImage(self.image)
    
    self.backgroundColor = colors[self.kAnalyzedBackgroundColor]!
    self.primaryColor    = colors[self.kAnalyzedPrimaryColor]!
    self.secondaryColor  = colors[self.kAnalyzedSecondaryColor]!
    self.detailColor     = colors[self.kAnalyzedDetailColor]!
  }
  
  private func analyzeImage(inputImage: UIImage) -> [String: UIColor] {

  var secondaryColor: UIColor?
  var detailColor: UIColor?
  
  let analyzedBackgroundColor: String = "analyzedBackgroundColor"
  let analyzedPrimaryColor: String    = "analyzedPrimaryColor"
  let analyzedSecondaryColor: String  = "analyzedSecondaryColor"
  let analyzedDetailColor: String     = "analyzedDetailColor"
  
  convenience init(inputImage: UIImage) {
    let sampleSize: CGSize = CGSize(width: 64, height: 64)

    self.init(inputImage: inputImage, imageSampleSize: sampleSize, minimunColorCount: 0)
  }
  
  init(inputImage: UIImage, imageSampleSize: CGSize, minimunColorCount: Int) {
    self.minimunColorCount = minimunColorCount
    
    self.image = SwiftColorArt.resizeImage(inputImage, targetSize: imageSampleSize)
    
    self.processImage()
  }
