private static @Nullable Color getScaledRgbColor(@Nullable Object redValue,
                                                   @Nullable Object greenValue,
                                                   @Nullable Object blueValue,
                                                   @Nullable Object alphaValue) {
    Integer red = getScaledComponent(redValue);
    Integer green = getScaledComponent(greenValue);
    Integer blue = getScaledComponent(blueValue);
    Integer alpha = getScaledComponent(alphaValue);
    if (red != null && green != null && blue != null && alpha != null) {
      //noinspection UseJBColor
      return new Color(red, green, blue, alpha);
    }
    return null;
  }
private static @Nullable Color getScaledRgbColor(@Nullable Object redValue,
                                                   @Nullable Object greenValue,
                                                   @Nullable Object blueValue,
                                                   @Nullable Object alphaValue)