COLOR #D8C7D9

HEX: #D8C7D9
RGB: (216,199,217)

Color info

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

RGB color model

#D8C7D9 color RGB value is (216,199,217).

  • red value is 216;
  • green value is 199;
  • blue value is 217.
RGB:
(216,199,217)
(85%,78%,85%)

RGB channels and saturation

R 216 of 255 = 85%
G 199 of 255 = 78%
B 217 of 255 = 85%

216
199
217

R + G + B ~ 83%. #D8C7D9 is quite light color.

Portions of RGB colors in percentages

R + G + B =
216 + 199 + 217 = 632 (100%)
R 216 of 632 ~ 34.18%
G 199 of 632 ~ 31.49%
B 217 of 632 ~ 34.34%

%34.18
%31.49
%34.34

CMYK color model

#D8C7D9 color CMYK value is (0,8,0,15).

  • cyan value is 0.46%
  • magenta value is 8.29%
  • yellow value is 0.00%
  • key color value is 14.90%
CMYK:
(0,8,0,15)
C0M8Y0K15 
(0%,8%,0%,15%)
(0.00/0.08/0.00/0.15)	

CMYK percentages

%0.46
%8.29
%0
%14.9

Codes

Color #D8C7D9 in popluar color models

D8C7D9
RGB216199217
HSL297°19.15%81.57%
HSB/HSV297°8.29%85.10%
CMYK0.46%8.29%0.00%
14.90%

Color #D8C7D9 in popluar number systems.

HEXD8C7D9
Decimal216199217
Binary110110001100011111011001
Octal330307331

Shades and tints

Shades of #D8C7D9

#D8C7D9
(216,199,217)
#C5B5C6
(197,181,198)
#B2A3B3
(178,163,179)
#9F91A0
(159,145,160)
#8C7F8D
(140,127,141)
#796D7A
(121,109,122)
#665B67
(102,91,103)
#534954
(83,73,84)
#403741
(64,55,65)
#2D252E
(45,37,46)
#1A131B
(26,19,27)
#000000
(0,0,0)

Tints of #D8C7D9

#D8C7D9
(216,199,217)
#DBCCDC
(219,204,220)
#DED1DF
(222,209,223)
#E1D6E2
(225,214,226)
#E4DBE5
(228,219,229)
#E7E0E8
(231,224,232)
#EAE5EB
(234,229,235)
#EDEAEE
(237,234,238)
#F0EFF1
(240,239,241)
#F3F4F4
(243,244,244)
#F6F9F7
(246,249,247)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D8C7D9 color. Also use rgb(216,199,217) instead hex code.

Text Font Color

.myTextColor { color: #D8C7D9; }

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

This text font color is #D8C7D9.


Background Color

.myBgColor { background-color: #D8C7D9; }

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

This div background color is #D8C7D9.


Border color

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

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

This div border color is #D8C7D9.


Opacity

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

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

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

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

This text has shadow with #D8C7D9 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D8C7D9 on black background.


Color preview on white background

This text has color #D8C7D9 on white background.



Black color preview on #D8C7D9 background

This text has black color on #D8C7D9 background.


White color preview on #D8C7D9 background

This text has white color on #D8C7D9 background.