COLOR #D7D8DC

HEX: #D7D8DC
RGB: (215,216,220)

Color info

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

RGB color model

#D7D8DC color RGB value is (215,216,220).

  • red value is 215;
  • green value is 216;
  • blue value is 220.
RGB:
(215,216,220)
(84%,85%,86%)

RGB channels and saturation

R 215 of 255 = 84%
G 216 of 255 = 85%
B 220 of 255 = 86%

215
216
220

R + G + B ~ 85%. #D7D8DC is quite light color.

Portions of RGB colors in percentages

R + G + B =
215 + 216 + 220 = 651 (100%)
R 215 of 651 ~ 33.03%
G 216 of 651 ~ 33.18%
B 220 of 651 ~ 33.79%

%33.03
%33.18
%33.79

CMYK color model

#D7D8DC color CMYK value is (2,2,0,14).

  • cyan value is 2.27%
  • magenta value is 1.82%
  • yellow value is 0.00%
  • key color value is 13.73%
CMYK:
(2,2,0,14)
C2M2Y0K14 
(2%,2%,0%,14%)
(0.02/0.02/0.00/0.14)	

CMYK percentages

%2.27
%1.82
%0
%13.73

Codes

Color #D7D8DC in popluar color models

D7D8DC
RGB215216220
HSL228°6.67%85.29%
HSB/HSV228°2.27%86.27%
CMYK2.27%1.82%0.00%
13.73%

Color #D7D8DC in popluar number systems.

HEXD7D8DC
Decimal215216220
Binary110101111101100011011100
Octal327330334

Shades and tints

Shades of #D7D8DC

#D7D8DC
(215,216,220)
#C4C5C8
(196,197,200)
#B1B2B4
(177,178,180)
#9E9FA0
(158,159,160)
#8B8C8C
(139,140,140)
#787978
(120,121,120)
#656664
(101,102,100)
#525350
(82,83,80)
#3F403C
(63,64,60)
#2C2D28
(44,45,40)
#191A14
(25,26,20)
#000000
(0,0,0)

Tints of #D7D8DC

#D7D8DC
(215,216,220)
#DADBDF
(218,219,223)
#DDDEE2
(221,222,226)
#E0E1E5
(224,225,229)
#E3E4E8
(227,228,232)
#E6E7EB
(230,231,235)
#E9EAEE
(233,234,238)
#ECEDF1
(236,237,241)
#EFF0F4
(239,240,244)
#F2F3F7
(242,243,247)
#F5F6FA
(245,246,250)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #D7D8DC; }

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

This text font color is #D7D8DC.


Background Color

.myBgColor { background-color: #D7D8DC; }

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

This div background color is #D7D8DC.


Border color

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

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

This div border color is #D7D8DC.


Opacity

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

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

Text with #D7D8DC 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 #D7D8DC;}

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

This text has shadow with #D7D8DC color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D7D8DC on black background.


Color preview on white background

This text has color #D7D8DC on white background.



Black color preview on #D7D8DC background

This text has black color on #D7D8DC background.


White color preview on #D7D8DC background

This text has white color on #D7D8DC background.