⤺ color picker
0
Reddit

#dcdcdc Color Hex (gainsboro)

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


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

Color information

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

Conversions

Hex:
#dcdcdc
CMYK:
C: 0%, M: 0%, Y: 0%, K: 13.73%
RGB:
R: 220, G: 220, B: 220
HSL:
H: , S: 0%, L: 86.3%

Color harmonies

#dcdcdc color HTML and CSS codes

Example CSS code:

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

#dcdcdc text/font color

How to set font color?

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

Font color is #dcdcdc.

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

#dcdcdc background color

How to set background color?

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

Background color is #dcdcdc.

Compromise in colors is grey.
- Edi Rama