Skip to content

Comment on Adding 'rebeccapurple' color to CSS Color Level 4

Comments

They could have added a dedication in the acknowledgements rather than change the content of a binding specs for personal reasons.

FYI: other CSS colors include such oddities as dodgerblue, gainsboro, papayawhip, peachpuff, and peru.

I really don't think the spec will be hurt by an additional one.

Is there a near-zero performance impact for checking all of the human-friendly names in CSS?

CSS seems to define about a 150 named colours. One more shouldn't make a noticeable difference.

(there is a list here: https://developer.mozilla.org/en-US/docs/Web/CSS/color_value )

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.