Open glen-84 opened 2 years ago
@rebornix Please mention the issue that this duplicates. I searched before opening this, and again now, but I can't find one.
I thought there is an easier one but I couldn't find it anymore. Let's use this issue to track CSS color level 4 syntax support.
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.