Package org.apache.commons.imaging.color
Class ColorHsl
java.lang.Object
org.apache.commons.imaging.color.ColorHsl
Represents a color in the HSL color space.
Contains the constant values for black, white, red, green, blue, cyan, magenta, and yellow.
- Since:
- 1.0-alpha1
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ColorHslA constant for color black.static final ColorHslA constant for color blue.static final ColorHslA constant for color green.final doublefinal doublestatic final ColorHslA constant for color red.final doublestatic final ColorHslA constant for color white. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
BLACK
A constant for color black. Color components are:Hue: 0 Saturation: 0 Lightness: 0 -
WHITE
A constant for color white. Color components are:Hue: 0 Saturation: 0 Lightness: 100 -
RED
A constant for color red. Color components are:Hue: 0 Saturation: 100 Lightness: 100 -
GREEN
A constant for color green. Color components are:Hue: 120 Saturation: 100 Lightness: 100 -
BLUE
A constant for color blue. Color components are:Hue: 240 Saturation: 100 Lightness: 100 -
h
-
s
-
l
-
-
Constructor Details
-
ColorHsl
-
-
Method Details