-
css color name
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-
-
-
Not every hexadecimal color has a name.
Here's a list:
http://www.w3schools.com/cssref/css_colornames.asp
Note that your examples above are three characters and the technically correct format is six. For example, #CCC is equivalent to #CCCCCC. (Each character is duplicated. #123 would be #112233.)
For the future, please search for your answer before posting. That link took me 5 seconds to find, on google searching for "CSS color names".
I don't know if all of those color terms are always compatible in every browser, so I recommend using the hexadecimal code (6 characters is best).
Also, as a specific answer to your question, according to that list only #000 (equivalent to #000000) has a name: "black". The others don't have names. There are other similar shades of gray, however, if that's what you are looking for. See the link for more information. Or just use the hexadecimal values you have.
Daniel -
Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks