     }
     
     func updateBackgroundColor() {
-        let color = self.colorPallett.colorWithHue(self.hue, saturation: self.saturation, brightness: self.brightness)
+        let color = self.colorPalett.colorWithHue(self.hue, saturation: self.saturation, brightness: self.brightness)
         self.view.backgroundColor = color
     }
     

    }
    
    func selectColorAtIndex(_ index:Int) {
        self.hue = self.colorPallett.hueAtIndex(index)
        self.saturation = self.colorPallett.saturationAtIndex(index)
        updateBackgroundColor()
        saveHsb()
    }

    
    @IBOutlet var settingsButton: UIButton?
    
    let colorPalett = ColorPalett()
    var hue = 0
    var saturation = 0
    var brightness = 0
