COLOR #D8C7E3

HEX: #D8C7E3
RGB: (216,199,227)

Color info

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

RGB color model

#D8C7E3 color RGB value is (216,199,227).

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

RGB channels and saturation

R 216 of 255 = 85%
G 199 of 255 = 78%
B 227 of 255 = 89%

216
199
227

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

Portions of RGB colors in percentages

R + G + B =
216 + 199 + 227 = 642 (100%)
R 216 of 642 ~ 33.64%
G 199 of 642 ~ 31%
B 227 of 642 ~ 35.36%

%33.64
%31
%35.36

CMYK color model

#D8C7E3 color CMYK value is (5,12,0,11).

  • cyan value is 4.85%
  • magenta value is 12.33%
  • yellow value is 0.00%
  • key color value is 10.98%
CMYK:
(5,12,0,11)
C5M12Y0K11 
(5%,12%,0%,11%)
(0.05/0.12/0.00/0.11)	

CMYK percentages

%4.85
%12.33
%0
%10.98

Codes

Color #D8C7E3 in popluar color models

D8C7E3
RGB216199227
HSL276°33.33%83.53%
HSB/HSV276°12.33%89.02%
CMYK4.85%12.33%0.00%
10.98%

Color #D8C7E3 in popluar number systems.

HEXD8C7E3
Decimal216199227
Binary110110001100011111100011
Octal330307343

Shades and tints

Shades of #D8C7E3

#D8C7E3
(216,199,227)
#C5B5CF
(197,181,207)
#B2A3BB
(178,163,187)
#9F91A7
(159,145,167)
#8C7F93
(140,127,147)
#796D7F
(121,109,127)
#665B6B
(102,91,107)
#534957
(83,73,87)
#403743
(64,55,67)
#2D252F
(45,37,47)
#1A131B
(26,19,27)
#000000
(0,0,0)

Tints of #D8C7E3

#D8C7E3
(216,199,227)
#DBCCE5
(219,204,229)
#DED1E7
(222,209,231)
#E1D6E9
(225,214,233)
#E4DBEB
(228,219,235)
#E7E0ED
(231,224,237)
#EAE5EF
(234,229,239)
#EDEAF1
(237,234,241)
#F0EFF3
(240,239,243)
#F3F4F5
(243,244,245)
#F6F9F7
(246,249,247)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #D8C7E3; }

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

This text font color is #D8C7E3.


Background Color

.myBgColor { background-color: #D8C7E3; }

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

This div background color is #D8C7E3.


Border color

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

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

This div border color is #D8C7E3.


Opacity

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

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

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

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

This text has shadow with #D8C7E3 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D8C7E3 on black background.


Color preview on white background

This text has color #D8C7E3 on white background.



Black color preview on #D8C7E3 background

This text has black color on #D8C7E3 background.


White color preview on #D8C7E3 background

This text has white color on #D8C7E3 background.