Java Utililty Methods Color Brighten

List of utility methods to do Color Brighten

Description

The list of methods to do Color Brighten are organized into topic(s).

Method

java.awt.ColorshiftHSB(java.awt.Color color, double hueDelta, double saturationDelta, double brightnessDelta)
shift HSB
synchronized (s_hsbBuffer) {
    java.awt.Color.RGBtoHSB(color.getRed(), color.getGreen(), color.getBlue(), s_hsbBuffer);
    s_hsbBuffer[0] += hueDelta;
    s_hsbBuffer[1] += saturationDelta;
    s_hsbBuffer[2] += brightnessDelta;
    return constructColor(s_hsbBuffer, color.getAlpha());
ColorslightlyBrighter(Color color)
Moderated version of Color.brighter()
int r = color.getRed();
int g = color.getGreen();
int b = color.getBlue();
int i = (int) (1.0 / (1.0 - COLOR_SCALE_FACTOR));
if (r == 0 && g == 0 && b == 0) {
    return new Color(i, i, i);
if (r > 0 && r < i)
...
Colorwhiter(Color color)
This returns a whiter color than c.
int r = color.getRed();
int g = color.getGreen();
int b = color.getBlue();
return new Color(r + (255 - r) / 4, 
        g + (255 - g) / 4, b + (255 - b) / 4);