COLOR #D8D7DC

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

Color info

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

RGB color model

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

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

RGB channels and saturation

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

216
215
220

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

Portions of RGB colors in percentages

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

%33.18
%33.03
%33.79

CMYK color model

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

  • cyan value is 1.82%
  • magenta value is 2.27%
  • 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

%1.82
%2.27
%0
%13.73

Codes

Color #D8D7DC in popluar color models

D8D7DC
RGB216215220
HSL252°6.67%85.29%
HSB/HSV252°2.27%86.27%
CMYK1.82%2.27%0.00%
13.73%

Color #D8D7DC in popluar number systems.

HEXD8D7DC
Decimal216215220
Binary110110001101011111011100
Octal330327334

Shades and tints

Shades of #D8D7DC

#D8D7DC
(216,215,220)
#C5C4C8
(197,196,200)
#B2B1B4
(178,177,180)
#9F9EA0
(159,158,160)
#8C8B8C
(140,139,140)
#797878
(121,120,120)
#666564
(102,101,100)
#535250
(83,82,80)
#403F3C
(64,63,60)
#2D2C28
(45,44,40)
#1A1914
(26,25,20)
#000000
(0,0,0)

Tints of #D8D7DC

#D8D7DC
(216,215,220)
#DBDADF
(219,218,223)
#DEDDE2
(222,221,226)
#E1E0E5
(225,224,229)
#E4E3E8
(228,227,232)
#E7E6EB
(231,230,235)
#EAE9EE
(234,233,238)
#EDECF1
(237,236,241)
#F0EFF4
(240,239,244)
#F3F2F7
(243,242,247)
#F6F5FA
(246,245,250)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #D8D7DC; }

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

This text font color is #D8D7DC.


Background Color

.myBgColor { background-color: #D8D7DC; }

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

This div background color is #D8D7DC.


Border color

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

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

This div border color is #D8D7DC.


Opacity

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

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

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

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

This text has shadow with #D8D7DC color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D8D7DC on black background.


Color preview on white background

This text has color #D8D7DC on white background.



Black color preview on #D8D7DC background

This text has black color on #D8D7DC background.


White color preview on #D8D7DC background

This text has white color on #D8D7DC background.