List of common HTML color codes

List of commonly used HTML color codes

Below are some of the common color names and color codes. With these colors, you can also use the color name.

CSS Color Values

With CSS, colors can be specified in different ways:
  • By color names
  • As RGB values
  • As hexadecimal values
  • As HSL values (CSS3)
  • As HWB values (CSS4)
  • With the currentcolor keyword
COLOR COLOR NAME HEX COLOR CODE RGB COLOR CODE
 
WHITE #FFFFFF RGB(255, 255, 255)
 
SILVER #C0C0C0 RGB(192, 192, 192)
 
GRAY #808080 RGB(128, 128, 128)
 
BLACK #000000 RGB(0, 0, 0)
 
RED #FF0000 RGB(255, 0, 0)
 
MAROON #800000 RGB(128, 0, 0)
 
YELLOW #FFFF00 RGB(255, 255, 0)
 
OLIVE #808000 RGB(128, 128, 0)
 
LIME #00FF00 RGB(0, 255, 0)
 
GREEN #008000 RGB(0, 128, 0)
 
AQUA #00FFFF RGB(0, 255, 255)
 
TEAL #008080 RGB(0, 128, 128)
 
BLUE #0000FF RGB(0, 0, 255)
 
NAVY #000080 RGB(0, 0, 128)
 
FUCHSIA #FF00FF RGB(255, 0, 255))
 
PURPLE #800080 RGB(128, 0, 128))
List of common HTML color codes

RGB Colors

RGB color values are supported in all browsers. An RGB color value is specified with: rgb(REDGREENBLUE). Each parameter defines the intensity of the color as an integer between 0 and 255. For example, rgb(0,0,255) is rendered as blue, because the blue parameter is set to its highest value (255) and the others are set to 0.
Share:
Share on facebook
Facebook
Share on twitter
Twitter
Share on pinterest
Pinterest
Share on linkedin
LinkedIn

Leave a Reply

Latest posts
Subscribe To Our Monthly Newsletter
No spam, notifications only about new products, updates.
Related Posts

How to Clone a WordPress Site

How to Clone a WordPress Site? Sometimes you might need to clone your WordPress site. Maybe you want to use it as a template for