     *	Sets the background color that shows when the switch off and actively being touched.
     *   Defaults to light gray.
     */
-    var activeColor: UIColor = UIColor(red: 0.89, green: 0.89, blue: 0.89, alpha: 1) {
+    @IBInspectable var activeColor: UIColor = UIColor(red: 0.89, green: 0.89, blue: 0.89, alpha: 1) {
     willSet {
         if self.on && !self.tracking {
             backgroundView.backgroundColor = newValue

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

    /*
    *   Sets the border color that shows when the switch is off. Defaults to light gray.
    */
    @IBInspectable var borderColor: UIColor = UIColor(red: 0.78, green: 0.78, blue: 0.8, alpha: 1) {
    willSet {
        if !self.on {
            backgroundView.layer.borderColor = newValue.CGColor
