⤺ color picker
0
Reddit

#808080 Color Hex (gray)

Hex color #808080, RGB(128, 128, 128) - also known as gray - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.


The hex color code #808080 is a shade of red. In a RGB color space it is composed of 50.2% red, 50.2% green and 50.2% blue. In HSL notation it has 0° hue, 0% saturation and 50.2% lightness. The process color (CMYK) is combination of 0% cyan, 0% magenta, 0% yellow and 49.80% key (black). The closest short hexadecimal code of #808080 is #888.

Color information

  • #808080 is a shade of red.
  • CMYK color proportions:
    • Cyan: 0%
    • Magenta: 0%
    • Yellow: 0%
    • Key color - black: 49.80%
  • In the HSL model coordinates are:
    • Hue: 0° degrees
    • Saturation: 0%
    • Lightness: 50.2%
  • The values in the RGB color space are:
    • Red: 128 (50.2%)
    • Green: 128 (50.2%)
    • Blue: 128 (50.2%)

Conversions

Hex:
#808080
CMYK:
C: 0%, M: 0%, Y: 0%, K: 49.80%
RGB:
R: 128, G: 128, B: 128
HSL:
H: , S: 0%, L: 50.2%

Color harmonies

#808080 color HTML and CSS codes

Example CSS code:

.setFontColor { color: #808080; }
.setBackgroundColor { background-color: #808080; }

#808080 text/font color

How to set font color?

<p style="color:#808080">Font color is #808080.</p>

Font color is #808080.

Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage

#808080 background color

How to set background color?

<div style="background-color:#808080">Background color is #808080.</div>

Background color is #808080.

Red was ruby, green was fluorescent, yellow was simply incandescent. Color was life. Color was everything. Color, you see, was the universal sign of magic.
- Tahereh Mafi, Furthermore