Use modern (CSS color level 4) syntax for colors in the color picker #139840
Labels
editor-color-picker
Editor color picker widget issues
feature-request
Request for new features or functionality
Milestone
When converting colors using the color picker, the old comma-based syntax is used:
(it should also show
hsl
here, at the top of the picker, notrgba
)Please update the picker to use the modern (CSS color level 4) syntax for colors.
With regard to the exact syntax, I agree with these suggestions from
@mathiasbynens
:i.e. Use percentages for alpha, and always include the
deg
suffix.This also matches the syntax displayed in Chrome developer tools.
The text was updated successfully, but these errors were encountered: