-
CSR
-
Resolution: Approved
-
P4
-
None
-
behavioral
-
minimal
-
This change will have limited impact on applications, as this control is used manually most of the time. However, there is a minimal compatibility risk of breaking automated tests that rely on absolute position while picking color.
-
Other
-
Implementation
Summary
The JavaFX ColorPicker control currently does not provide basic standard colors to choose from. These colors are proposed to be added to ColorPicker control as part of implementing JDK-8177380.
Problem
Color palette of ColorPicker control does not support standard colors like Color.RED, Color.BLUE etc. Note : The color palette has variations of these colors, but standard version like Color.RED (255,0,0) is missing.
Whilst users can always use 'Custom Colors' to define such colors, it is a common enough use case to justify adding them directly to the ColorPicker control.
Solution
Here is the list of standard colors that are proposed to be added as a separate row of colors in ColorPicker:
- Color.AQUA
- Color.TEAL
- Color.BLUE
- Color.NAVY
- Color.FUCHSIA
- Color.PURPLE
- Color.RED
- Color.MAROON
- Color.YELLOW
- Color.OLIVE
- Color.GREEN
- Color.LIME
Why were these colors chosen?
These 12 colors are non-grayscale basic standard colors.
Please refer : https://en.wikipedia.org/wiki/Web_colors#HTML_color_names
Specification
This is a user interface change proposal to add the 12 standard colors to the ColorPicker palette as a new top row. No new API has been added.
- csr of
-
JDK-8177380 Add standard colors in ColorPicker color palette
-
- Resolved
-