code: public void setCustomLedColor(final Color COLOR) {
          if (customLedColor.COLOR.equals(COLOR)) {return;}
  
          customLedColor = new CustomLedColor(COLOR);
          final boolean LED_WAS_ON = currentLedImage.equals(ledImageOn) ? true : false;
          flushImages();
  
          ledImageOff = create_LED_Image(getWidth(), 0, ledColor, ledType);
          ledImageOn  = create_LED_Image(getWidth(), 1, ledColor, ledType);
  
          currentLedImage = LED_WAS_ON == true ? ledImageOn : ledImageOff;
  
          repaint();
      }
docs: Sets the color that will be used to calculate the custom led color
  @param COLOR