             fatalError("init(coder:) has not been implemented")
         }
         
-        override open func updateColor() {
-            super.updateColor()
-            view.backgroundColor = color
+        override open func updateFromColor() {
+            super.updateFromColor()
+            view.backgroundColor = colorArray.color(at: 0)
         }
     }
     

    
    
    
    
    open func clear(withColorArray:[UIColor]? = nil) {
        self.removeAllSubviews()

        display.widthAnchor.constraint(equalTo: self.widthAnchor).isActive=true
        display.centerXAnchor.constraint(equalTo: self.centerXAnchor).isActive=true
        
        display.updateFromColor()
        
        return display
    }
