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 const
EDIT: I realize HSB != HSL, the answer below is for HSB.
I don't think there is any need to use ColorSpaces here. Try something like the following:
float hue = 0.9f; //hue
float saturation = 1.0f; //saturation
float brightness = 0.8f; //brightness
Color myRGBColor = Color.getHSBColor(hue, saturation, brightness);