COLOR #DCDCDC

HEX: #DCDCDC RGB: (220,220,220)

Color info

Color name is Gainsboro. #DCDCDC contains red, green and blue colors in about the same proportion. Web safe color of #DCDCDC is #CCCCCC (or #CCC).

RGB color model

#DCDCDC color RGB value is (220,220,220).

RGB: (220,220,220) (86%, 86%, 86%)

RGB channels and saturation

R 220 of 255 = 86%
G 220 of 255 = 86%
B 220 of 255 = 86%

220
220
220

R + G + B ~ 86%. #DCDCDC is light color.

Portions of RGB colors in percentages

R + G + B = 220 + 220 + 220 = 660 (100%)
R 220 of 660 ~ 33.33%
G 220 of 660 ~ 33.33%
B 220 of 660 ~ 33.33'%

%33.33
%33.33
%33.33

CMYK color model

#DCDCDC color CMYK value is (0,0,0,14).

  • cyan value is 0.00%
  • magenta value is 0.00%
  • yellow value is 0.00%
  • key color value is 13.73%

CMYK: (0,0,0,14)
C0M0Y0K14 (0%, 0%, 0%, 14%)
(0.00 / 0.00 / 0.00 / 0.14)

CMYK percentages

%0
%0
%0
%13.73

Codes

Color #DCDCDC in popluar color models

DC DC DC
RGB 220 220 220
HSL 0.00% 0.86%
HSB/HSV 0.00% 0.86%
CMYK 0.00% 0.00% 0.00%
13.73%

Color #DCDCDC in popluar number systems.

HEX DC DC DC
Decimal 220 220 220
Binary 11011100 11011100 11011100
Octal 334 334 334

Shades and tints

Shades of #DCDCDC

#DCDCDC
(220,220,220)
#C8C8C8
(200,200,200)
#B4B4B4
(180,180,180)
#A0A0A0
(160,160,160)
#8C8C8C
(140,140,140)
#787878
(120,120,120)
#646464
(100,100,100)
#505050
(80,80,80)
#3C3C3C
(60,60,60)
#282828
(40,40,40)
#141414
(20,20,20)
#000000
(0,0,0)

Tints of #DCDCDC

#DCDCDC
(220,220,220)
#DFDFDF
(223,223,223)
#E2E2E2
(226,226,226)
#E5E5E5
(229,229,229)
#E8E8E8
(232,232,232)
#EBEBEB
(235,235,235)
#EEEEEE
(238,238,238)
#F1F1F1
(241,241,241)
#F4F4F4
(244,244,244)
#F7F7F7
(247,247,247)
#FAFAFA
(250,250,250)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #DCDCDC color. Also use rgb(220,220,220) instead hex code.

Text Font Color

.myTextColor { color: #DCDCDC; }

<p style="color:#DCDCDC">This sample text font color is #DCDCDC.</p>

This text font color is #DCDCDC.

Background Color

.myBgColor { background-color: #DCDCDC; }

<div style="background-color:#DCDCDC">Inner text</div>

This div background color is #DCDCDC.

Border color

.myBorderColor { border: 1px solid #DCDCDC; }

<div style="border:3px solid #DCDCDC">Div</div>

This div border color is #DCDCDC.

Opacity

.myOpacity80 { color: #DCDCDC; opacity: 0.8; }

<p style="color:#DCDCDC;opacity:0.8;">80%</p>

Text with #DCDCDC color and opacity 100% | 80% | 50% | 30%.

Background with opacity value 100%.
Background with opacity value 80%.
Background with opacity value 50%.
Background with opacity value 30%.

Text shadow color

.textShadow {text-shadow: 3px 3px 1px #DCDCDC;}

<p style="text-shadow: 3px 3px 1px #DCDCDC">Text here.</p>

This text has shadow with #DCDCDC color.


.textShadow {text-shadow: 3px 3px 1px #DCDCDC', 3px 3px 1px red;}

<p style="text-shadow: 3px 3px 1px #DCDCDC, 5px 5px 20px red">Text here.</p>

This text has shadow with #DCDCDC primary color and red secondary color.


Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#DCDCDC, Direction=45, Strength=4)}

<p style="filter: Shadow(Color=#DCDCDC, Direction=45, Strength=4)">Text</p>

This text has shadow with #DCDCDC and red colors in old Internet Explorer.

Div box shadow color

/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #DCDCDC;
-webkit-box-shadow: 1px 1px 3px 2px #DCDCDC;
box-shadow: 1px 1px 3px 2px #DCDCDC;
}

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #DCDCDC; -webkit-box-shadow: 1px 1px 3px 2px #DCDCDC; box-shadow:1px 1px 3px 2px #DCDCDC;">
Div content here
</div>

This div box has shadow with color #DCDCDC.

Preview

Color preview on black background

This text has color #DCDCDC on black background.


Color preview on white background

This text has color #DCDCDC on white background.


Black color preview on #DCDCDC background

This text has black color on #DCDCDC background.


White color preview on #DCDCDC background

This text has white color on #DCDCDC background.


Related colors

Complementary color

Complementary color for #hex is #232323.


I love getcolorcode.com

Gradients

Color #DCDCDC is used in Gainsboro gradient.

Gainsboro