-
Enhancement
-
Resolution: Fixed
-
P4
-
1.5a, 5.0, 6, 6u10
-
b38
-
x86
-
linux, windows_2000
-
Not verified
Add Hue-Saturation-Luminance tab to JColorChooser.
Add the following methods to the Color class:
static Color getHSLColor(float h, float s, float l)
static int HSLtoRGB(float hue, float saturation, float lightness)
static float[] RGBtoHSL(int r, int g, int b, float[] hslvals)
JUSTIFICATION :
This feature is requested because of only one thing: "usability".
Users of our application, wheter a graphics artist or an ordinary user, can choose color easily when using hsl instead of hsb. This maybe the reason why many graphics tools has hsl support. W3C opted for hsl instead of hsb for the CSS3.
Please refer to http://www.w3.org/TR/css3-color/#hsl-color for the advantages of hsl which is symmetrical to lightness and darkness.
- duplicates
-
JDK-6417055 JCK15a: DefaultHSBFileChooserPanel hangs on creating HSB image
-
- Closed
-
-
JDK-6967484 Freeze/Deadlock in JColorChooser
-
- Closed
-
-
JDK-6559154 Reursively disabling JColorChooser causes EDT to hang.
-
- Closed
-
-
JDK-6317840 JColorChooser should display hex colour number
-
- Closed
-
- relates to
-
JDK-6579827 vista : JSlider on JColorchooser is not properly render or can't be seen completely.
-
- Resolved
-
-
JDK-6866747 [TEST_BUG] J2SE_Swing_Reg:can not see any HSB tab
-
- Closed
-
-
JDK-8051548 JColorChooser should have a way to disable transparency controls
-
- Resolved
-