code: protected void applyColor(BaseUIComponent comp) {
          if (comp instanceof BaseLabeledComponent) {
              comp.invoke(comp.sub("lbl"), "css", "color", getColor());
          } else if (comp != null) {
              comp.addStyle("background-color", getColor());
          }
      }
docs: Applies the current color setting to the target component. If the target implements a custom
  method for performing this operation, that method will be invoked. Otherwise, the background
  color of the target is set. Override this method to provide alternate implementations.
  
  @param comp Component to receive the color setting.