     *	Sets the background color when the switch is off.
     *   Defaults to clear color.
     */
-    var inactiveColor: UIColor = UIColor.clearColor() {
+    @IBInspectable var inactiveColor: UIColor = UIColor.clearColor() {
     willSet {
         if !self.on && !self.tracking {
             backgroundView.backgroundColor = newValue

    /*
    *	Sets the knob color that shows when the switch is on. Defaults to white.
    */
    var onThumbTintColor: UIColor = UIColor.whiteColor() {
    willSet {
        userDidSpecifyOnThumbTintColor = true
        if self.on && !self.tracking {

    *   Sets the background color that shows when the switch is on.
    *   Defaults to green.
    */
    @IBInspectable var onTintColor: UIColor = UIColor(red: 0.3, green: 0.85, blue: 0.39, alpha: 1) {
    willSet {
        if self.on && !self.tracking {
            backgroundView.backgroundColor = newValue
