css/css-color/parsing/
color-computed.html
Passes: all 16 assertions match; 1 more could not be judged
A parsing and computed-value check: each value the parser must accept or reject, and what it computes to.
| Why some could not be judged | Assertions |
|---|---|
| No assertion with written values to accept or reject | 1 |
Run it in the playgroundThe fileOn GitHubBrowsers’ results on wpt.fyi
Each assertion
Every row shows what the file expected and what the engine returned, whether they match or not.
| Assertion | Expected | Got | Verdict |
|---|---|---|---|
Property color value 'currentcolor' | rgb(255, 0, 0) | rgb(255, 0, 0) | Passes |
Property color value 'transparent' | rgba(0, 0, 0, 0) | rgba(0, 0, 0, 0) | Passes |
Property color value 'red' | rgb(255, 0, 0) | rgb(255, 0, 0) | Passes |
Property color value 'magenta' | rgb(255, 0, 255) | rgb(255, 0, 255) | Passes |
Property color value '#234' | rgb(34, 51, 68) | rgb(34, 51, 68) | Passes |
Property color value '#FEDCBA' | rgb(254, 220, 186) | rgb(254, 220, 186) | Passes |
Property color value 'rgb(2, 3, 4)' | rgb(2, 3, 4) | rgb(2, 3, 4) | Passes |
Property color value 'rgb(100%, 0%, 0%)' | rgb(255, 0, 0) | rgb(255, 0, 0) | Passes |
Property color value 'rgba(2, 3, 4, 0.5)' | rgba(2, 3, 4, 0.5) | rgba(2, 3, 4, 0.5) | Passes |
Property color value 'rgba(2, 3, 4, 50%)' | rgba(2, 3, 4, 0.5) | rgba(2, 3, 4, 0.5) | Passes |
Property color value 'hsl(120, 100%, 50%)' | rgb(0, 255, 0) | rgb(0, 255, 0) | Passes |
Property color value 'hsla(120, 100%, 50%, 0.25)' | rgba(0, 255, 0, 0.25) | rgba(0, 255, 0, 0.25) | Passes |
Property color value 'rgb(-2, 3, 4)' | rgb(0, 3, 4) | rgb(0, 3, 4) | Passes |
Property color value 'rgb(100, 200, 300)' | rgb(100, 200, 255) | rgb(100, 200, 255) | Passes |
Property color value 'rgb(20, 10, 0, -10)' | rgba(20, 10, 0, 0) | rgba(20, 10, 0, 0) | Passes |
Property color value 'rgb(100%, 200%, 300%)' | rgb(255, 255, 255) | rgb(255, 255, 255) | Passes |
Results of the run of 8 November 2026, engine build 1d7a91105. The data behind every page is open.