Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Jul 2011
    Posts
    24
    Thanks
    0
    Thanked 0 Times in 0 Posts

    color names in css

    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-

  • #2
    Regular Coder
    Join Date
    Dec 2010
    Location
    California
    Posts
    201
    Thanks
    30
    Thanked 8 Times in 8 Posts
    #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!
    "The problem with troubleshooting is that trouble shoots back."

  • #3
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,477
    Thanks
    6
    Thanked 980 Times in 953 Posts
    There are a few official standard color names: http://www.w3.org/TR/css3-color/#html4 and there are more inofficial color names that are not part of the standard definition but should work, too. In CSS these names are case insensitive.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •