public class HSL implements ConvertibleColor
ConvertibleColor.DefaultImpls| Constructor and Description |
|---|
HSL(int h,
int s,
int l) |
| Modifier and Type | Method and Description |
|---|---|
int |
component1() |
int |
component2() |
int |
component3() |
HSL |
copy(int h,
int s,
int l) |
boolean |
equals(java.lang.Object p) |
int |
getH() |
int |
getL() |
int |
getS() |
int |
hashCode() |
HSL |
toHSL()
Convert this color to Hue-Saturation-Luminosity
|
HSV |
toHSV()
Convert this color to Hue-Saturation-Value
|
RGB |
toRGB()
Convert this color to Red-Green-Blue (using sRGB color space)
|
java.lang.String |
toString() |
public RGB toRGB()
Convert this color to Red-Green-Blue (using sRGB color space)
public HSV toHSV()
Convert this color to Hue-Saturation-Value
public HSL toHSL()
Convert this color to Hue-Saturation-Luminosity
public int getH()
public int getS()
public int getL()
public int component1()
public int component2()
public int component3()
public HSL copy(int h, int s, int l)
public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)