code: public void setCustomLedColor(final Color COLOR) {
          model.setCustomLedColor(new CustomLedColor(COLOR));
          final boolean LED_WAS_ON = currentLedImage.equals(ledImageOn) ? true : false;
  
          switch (getOrientation()) {
              case HORIZONTAL:
                  recreateLedImages(getHeight());
                  break;
              case VERTICAL:
                  recreateLedImages(getWidth());
                  break;
              default:
                  recreateLedImages();
                  break;
          }
  
          if (currentLedImage != null) {
              currentLedImage.flush();
          }
          currentLedImage = LED_WAS_ON == true ? ledImageOn : ledImageOff;
  
          repaint(getInnerBounds());
      }
docs: Sets the color from which the custom ledcolor will be calculated
  @param COLOR