When I write
background-color:lightblue;
In IntelliJ, it highlights lightblue and suggests I replace it with #add8e6.
I rather like lightblue, it’s much more readable. Was it “banned” from the specs? Should I do as IntelliJ suggests?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The nearly(*) authorative list of colors supported in CSS3 is listed in the W3C proposed recommendation CSS Color Module Level 3, section 4.1 Basic color keywords.
lightblueis only listed under the Extended color keywords of section 4.3.The non-normative profiles of section 7 suggest that HTML only supports the basic colors, while the extended ones are permitted in SVG.
(*) Nearly because this is a proposed recommendation. It does describe current practice.