Skip to content
Skip the list of specifications

text-emphasis-color

renders differently: 0 of 2 examples match Chrome

css-text-decor-4

The property takes effect, but our pixels are not Chrome’s. The difference map on this page shows where.

What the specification says

Initial valuecurrentcolor
Applies totext
Inheritedyes
Percentagesn/a
Computed valuecomputed color
Syntax<color>

The definition in css-text-decor-4

The measurements

2 examples, both render differently. 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.

text-emphasis-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 Chrome27,720
The same, on the page without the declaration22,058
Largest difference on one colour channel238 of 255
The same, on the page without the declaration238 of 255

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

The example’s page

text-emphasis-color:rgba(224,122,31,0.45)

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 Chrome29,926
The same, on the page without the declaration22,058
Largest difference on one colour channel238 of 255
The same, on the page without the declaration238 of 255

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

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
renders differently

Tests that name this property

5 web-platform-tests link 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