1. Technology
Send to a Friend via Email

HTML Colors - Grays

HTML Color Codes for Gray Hues

There are a lot of HTML colors in the gray color family that you can use. These HTML colors show you the different values for gray.

To use these color codes, insert either the Hex code or the RGB code into your CSS. For example, to change the color of your font:

p { color: #ffffff; }
p { color: rgb(255,255,255); }
Color Hex HTML Color Code RGB HTML Color Code
  #000000 rgb(0,0,0)
  #080808 rgb(8,8,8)
  #101010 rgb(16,16,16)
  #181818 rgb(24,24,24)
  #202020 rgb(32,32,32)
  #282828 rgb(40,40,40)
  #303030 rgb(48,48,48)
  #383838 rgb(56,56,56)
  #404040 rgb(64,64,64)
  #484848 rgb(72,72,72)
  #505050 rgb(80,80,80)
  #585858 rgb(88,88,88)
  #606060 rgb(96,96,96)
  #686868 rgb(104,104,104)
  #707070 rgb(112,112,112)
  #787878 rgb(120,120,120)
  #808080 rgb(128,128,128)
  #888888 rgb(136,136,136)
  #909090 rgb(144,144,144)
  #989898 rgb(152,152,152)
  #A0A0A0 rgb(160,160,160)
  #A8A8A8 rgb(168,168,168)
  #B0B0B0 rgb(176,176,176)
  #B8B8B8 rgb(184,184,184)
  #C0C0C0 rgb(192,192,192)
  #C8C8C8 rgb(200,200,200)
  #D0D0D0 rgb(208,208,208)
  #D8D8D8 rgb(216,216,216)
  #E0E0E0 rgb(224,224,224)
  #E8E8E8 rgb(232,232,232)
  #F0F0F0 rgb(240,240,240)
  #F8F8F8 rgb(248,248,248)
  #FFFFFF rgb(255,255,255)

©2014 About.com. All rights reserved.