#808080 - Gray

The hexadecimal color code #808080 corresponds to the color "Gray" , which is a shade of Gray. This color is a combination of red (at 0,50 level), green (at 0,50 level) and blue (at 0,50 level). Its brightness is 50% and its saturation is 0%. It is composed of red at 33%, green at 33% and blue at 33%.


Features

Hue

Saturation

Brightness

0
0
50
Official nameGray
Shade of Gray
Hex Code #808080
RGB Code rgb( 128 , 128 , 128)
RGB Code Percentagergb( 50.2% , 50.2% , 50.2% )
HSLhsl( 0 , 0% , 50% )
Complementary
Color
#7F7F7F


Variations of #808080

Lighter Shades

Palette of gradually lightened shades. The lightest shade of #808080 is the color #F2F2F2

Gray

#808080

Darker Shades

Palette of progressively darker shades. The darkest shade is #0C0C0C.

Gray

#808080

Other Shades of Gray

Examples of other colors within the Gray spectrum .

See more



Color Palettes

The complementary color #7F7F7F is the color exactly opposite to #808080 on the color wheel. The triadic palette is created by selecting two colors that are evenly spaced on the color wheel.

Complementary color palette

Gray

#808080

Triadic palette



Uses of #808080 in CSS

When using #808080 as the background color, consider selecting a lighter text color for improved readability. If you want to use #808080 as the text color, prefer a light background, such as Blanc.
You can replace the color code #808080 with its official name: Gray. You can then write in CSS "background: Gray " for a background of #808080.

#808080 as background color

Black text
White text
div{ background: #808080;  }

div{ background: Gray; }

Colored text

With a white background or
with a dark background
div{ color: #808080;  }

div{ color: Gray; }

Border

#808080 colored border with a width of 3px
div{ border: 3px solid #808080;  }

div{ border: 3px solid Gray; }

Shadow

#808080 shadow colored
div{ box-shadow: 3px 3px 7px #808080; }

div{ box-shadow: 3px 3px 7px Gray; }

Note:
In CSS, the color code #808080 can be replaced with its official name "".

Similar Colors

Other color codes similar or equivalent to the specified color code #808080.

Choose another color

Select another color on color wheel.

Selected color: