COLOR #D8C7E1

HEX: #D8C7E1
RGB: (216,199,225)

Color info

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

RGB color model

#D8C7E1 color RGB value is (216,199,225).

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

RGB channels and saturation

R 216 of 255 = 85%
G 199 of 255 = 78%
B 225 of 255 = 88%

216
199
225

R + G + B ~ 84%. #D8C7E1 is quite light color.

Portions of RGB colors in percentages

R + G + B =
216 + 199 + 225 = 640 (100%)
R 216 of 640 ~ 33.75%
G 199 of 640 ~ 31.09%
B 225 of 640 ~ 35.16%

%33.75
%31.09
%35.16

CMYK color model

#D8C7E1 color CMYK value is (4,12,0,12).

  • cyan value is 4.00%
  • magenta value is 11.56%
  • yellow value is 0.00%
  • key color value is 11.76%
CMYK:
(4,12,0,12)
C4M12Y0K12 
(4%,12%,0%,12%)
(0.04/0.12/0.00/0.12)	

CMYK percentages

%4
%11.56
%0
%11.76

Codes

Color #D8C7E1 in popluar color models

D8C7E1
RGB216199225
HSL279°30.23%83.14%
HSB/HSV279°11.56%88.24%
CMYK4.00%11.56%0.00%
11.76%

Color #D8C7E1 in popluar number systems.

HEXD8C7E1
Decimal216199225
Binary110110001100011111100001
Octal330307341

Shades and tints

Shades of #D8C7E1

#D8C7E1
(216,199,225)
#C5B5CD
(197,181,205)
#B2A3B9
(178,163,185)
#9F91A5
(159,145,165)
#8C7F91
(140,127,145)
#796D7D
(121,109,125)
#665B69
(102,91,105)
#534955
(83,73,85)
#403741
(64,55,65)
#2D252D
(45,37,45)
#1A1319
(26,19,25)
#000000
(0,0,0)

Tints of #D8C7E1

#D8C7E1
(216,199,225)
#DBCCE3
(219,204,227)
#DED1E5
(222,209,229)
#E1D6E7
(225,214,231)
#E4DBE9
(228,219,233)
#E7E0EB
(231,224,235)
#EAE5ED
(234,229,237)
#EDEAEF
(237,234,239)
#F0EFF1
(240,239,241)
#F3F4F3
(243,244,243)
#F6F9F5
(246,249,245)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #D8C7E1; }

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

This text font color is #D8C7E1.


Background Color

.myBgColor { background-color: #D8C7E1; }

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

This div background color is #D8C7E1.


Border color

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

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

This div border color is #D8C7E1.


Opacity

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

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

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

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

This text has shadow with #D8C7E1 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D8C7E1 on black background.


Color preview on white background

This text has color #D8C7E1 on white background.



Black color preview on #D8C7E1 background

This text has black color on #D8C7E1 background.


White color preview on #D8C7E1 background

This text has white color on #D8C7E1 background.