COLOR #D8C7E6

HEX: #D8C7E6
RGB: (216,199,230)

Color info

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

RGB color model

#D8C7E6 color RGB value is (216,199,230).

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

RGB channels and saturation

R 216 of 255 = 85%
G 199 of 255 = 78%
B 230 of 255 = 90%

216
199
230

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

Portions of RGB colors in percentages

R + G + B =
216 + 199 + 230 = 645 (100%)
R 216 of 645 ~ 33.49%
G 199 of 645 ~ 30.85%
B 230 of 645 ~ 35.66%

%33.49
%30.85
%35.66

CMYK color model

#D8C7E6 color CMYK value is (6,13,0,10).

  • cyan value is 6.09%
  • magenta value is 13.48%
  • yellow value is 0.00%
  • key color value is 9.80%
CMYK:
(6,13,0,10)
C6M13Y0K10 
(6%,13%,0%,10%)
(0.06/0.13/0.00/0.10)	

CMYK percentages

%6.09
%13.48
%0
%9.8

Codes

Color #D8C7E6 in popluar color models

D8C7E6
RGB216199230
HSL273°38.27%84.12%
HSB/HSV273°13.48%90.20%
CMYK6.09%13.48%0.00%
9.80%

Color #D8C7E6 in popluar number systems.

HEXD8C7E6
Decimal216199230
Binary110110001100011111100110
Octal330307346

Shades and tints

Shades of #D8C7E6

#D8C7E6
(216,199,230)
#C5B5D2
(197,181,210)
#B2A3BE
(178,163,190)
#9F91AA
(159,145,170)
#8C7F96
(140,127,150)
#796D82
(121,109,130)
#665B6E
(102,91,110)
#53495A
(83,73,90)
#403746
(64,55,70)
#2D2532
(45,37,50)
#1A131E
(26,19,30)
#000000
(0,0,0)

Tints of #D8C7E6

#D8C7E6
(216,199,230)
#DBCCE8
(219,204,232)
#DED1EA
(222,209,234)
#E1D6EC
(225,214,236)
#E4DBEE
(228,219,238)
#E7E0F0
(231,224,240)
#EAE5F2
(234,229,242)
#EDEAF4
(237,234,244)
#F0EFF6
(240,239,246)
#F3F4F8
(243,244,248)
#F6F9FA
(246,249,250)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #D8C7E6; }

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

This text font color is #D8C7E6.


Background Color

.myBgColor { background-color: #D8C7E6; }

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

This div background color is #D8C7E6.


Border color

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

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

This div border color is #D8C7E6.


Opacity

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

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

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

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

This text has shadow with #D8C7E6 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D8C7E6 on black background.


Color preview on white background

This text has color #D8C7E6 on white background.



Black color preview on #D8C7E6 background

This text has black color on #D8C7E6 background.


White color preview on #D8C7E6 background

This text has white color on #D8C7E6 background.