...

View Full Version : color names in css



ravi9510
08-04-2011, 06:41 AM
hi all,
i want to know the name of the colors used in css.please give the name of the color for the below ones......using words likr red,green....etc

#ccc-
#aaa-
#000-
#333-

eberdome
08-04-2011, 07:18 AM
#ccc- Lighter Gray
#aaa- Light Gray
#000- Black
#333- Dark Gray


Don't expect for the actual names of the colors to work in CSS, cause they wont... you might get away with Black but id stick with HEX!

VIPStephan
08-04-2011, 11:50 AM
There are a few official standard color names: http://www.w3.org/TR/css3-color/#html4 and there are more (http://www.w3schools.com/html/html_colornames.asp) inofficial color names that are not part of the standard definition but should work, too. In CSS these names are case insensitive.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum