Skip to content
Skip the list of specifications

color

matches Chrome on some values: 2 of 3 examples match Chrome

css-color-4

Some of the examples match Chrome and some do not: the count says how many, and the values that differ are listed first, each with its difference map.

The one that does not: color:#e07a1f. It comes first below, with its difference map.

What the specification says

Initial valueCanvasText
Applies toall elements and text
Inheritedyes
PercentagesN/A
Computed valuecomputed color, see resolving color values
Syntax<color>

The definition in css-color-4

The measurements

3 examples: one renders differently and comes first and two match Chrome. Each is one declaration on a small page, drawn by Chrome and by our engine. Drag on a picture to move the line between them.

color:#e07a1f

renders differently
Chrome rendering
Ours rendering
Left of the line is ours, right of it Chrome’s rendering. Drag on the picture to move the line.
Pixels that differ from Chrome1,825
The same, on the page without the declaration1,402
Largest difference on one colour channel42 of 255
The same, on the page without the declaration45 of 255

The declaration takes effect differently from Chrome: the difference map shows where.

The example’s page

color:rgba(224,122,31,0.45)

below the visible threshold
Chrome rendering
Ours rendering
Left of the line is ours, right of it Chrome’s rendering. Drag on the picture to move the line.
Pixels that differ from Chrome26,136
The same, on the page without the declaration1,402
Largest difference on one colour channel35 of 255
The same, on the page without the declaration45 of 255

The pages differ by 26,136 pixels with the declaration and by 1,402 without it. Where they did not differ before, they differ by no more than 3 of 255; the stronger differences, up to 35 of 255, are each within a pixel of a difference at least as strong on the page without the declaration.

The example’s page

color:red

same effect as Chrome
Chrome rendering
Ours rendering
Left of the line is ours, right of it Chrome’s rendering. Drag on the picture to move the line.
Pixels that differ from Chrome364
The same, on the page without the declaration364
Largest difference on one colour channel51 of 255
The same, on the page without the declaration52 of 255

The pages differ by 364 pixels with the declaration and by 364 without it: what differs is there before the property (mostly the fonts), and the declaration does not add to it.

The example’s page

Which values were measured

A match on one example means a match at the value tried. The property’s grammar has one branch, and it carries a measurement.

ValueMeasured
#e07a1f
rgba(224,122,31,0.45)
renders differently
below the visible threshold

Tests that name this property

1 web-platform-test links to this property’s definition. Few tests carry such a link, so a short list says little about the property.

Measured against Chrome 148.0.7778.96 on 5 November 2026, with up to 40 candidate values tried per property. How it was measured