What are standard named colors used in CSS stylesheet?

When developing web pages, choice of colors is big part of skinning in style sheet files. A lot of time instead of using HEX values for RGB, we end up using named colors like blue, green etc. Some time we end up picking a color name that may not be standard and when page is viewed in a different browser, it looks completely different. CSS specification has defined 17 standard named colors. So when using named colors, if you pick one of the following there is more chance of your site looking the same across different browsers.

  • aqua
  • black
  • blue
  • fuchsia
  • gray
  • green
  • lime
  • maroon
  • navy
  • olive
  • orange
  • purple
  • red
  • silver
  • teal
  • white
  • yellow

Search

Social

Weather

9.7 °C / 49.4 °F

weather conditions Clear

Monthly Posts

Blog Tags