Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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 )




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: