Eric Eric - 28 days ago 13
Java Question

How can I use the HSL colorspace in Java?

I've had a look at the ColorSpace class, and found the constant

TYPE_HLS
(which presumably is just HSL in a different order).

Can I use this constant to create a
Color
from hue, saturation, and luminosity?
If not, are there any Java classes for this, or do I need to write my own?

Answer