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

The html color attribute can be given either a hexadecimal string or a named html color keyword. I'm on my phone so I can't run their code, but it looks like it should work with both "blue" or "0000FF" (it might need to be "#0000FF"?).

So that actually makes naming it even more difficult, in my opinion :P



Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: