public final class ColorHsl extends Object
Contains the constant values for black, white, red, green, blue, cyan, magenta, and yellow.
Modifier and Type | Field and Description |
---|---|
static ColorHsl |
BLACK
A constant for color black.
|
static ColorHsl |
BLUE
A constant for color blue.
|
static ColorHsl |
GREEN
A constant for color green.
|
double |
H |
double |
L |
static ColorHsl |
RED
A constant for color red.
|
double |
S |
static ColorHsl |
WHITE
A constant for color white.
|
Constructor and Description |
---|
ColorHsl(double H,
double S,
double L) |
public static final ColorHsl BLACK
Hue: 0 Saturation: 0 Lightness: 0
public static final ColorHsl WHITE
Hue: 0 Saturation: 0 Lightness: 100
public static final ColorHsl RED
Hue: 0 Saturation: 100 Lightness: 100
public static final ColorHsl GREEN
Hue: 120 Saturation: 100 Lightness: 100
public static final ColorHsl BLUE
Hue: 240 Saturation: 100 Lightness: 100
public final double H
public final double S
public final double L
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.