You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Color previews reject valid out-of-range RGB channels #584
The same happens for percentage channels (rgb(120%, -10%, 0%)) and modern space-separated syntax, including in the SCSS and Less services.
Expected
Return a color preview with { red: 1, green: 0, blue: 0, alpha: 1 } for these examples. CSS Color 4 requires out-of-range RGB components to be clamped, not rejected. Chromium also accepts and clamps these values.
This concerns RGB channels only, independently of alpha handling in #581. I have a focused fix with regression coverage ready.
Activity