COLOR #D4C7E5

HEX: #D4C7E5
RGB: (212,199,229)

Color info

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

RGB color model

#D4C7E5 color RGB value is (212,199,229).

  • red value is 212;
  • green value is 199;
  • blue value is 229.
RGB:
(212,199,229)
(83%,78%,90%)

RGB channels and saturation

R 212 of 255 = 83%
G 199 of 255 = 78%
B 229 of 255 = 90%

212
199
229

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

Portions of RGB colors in percentages

R + G + B =
212 + 199 + 229 = 640 (100%)
R 212 of 640 ~ 33.13%
G 199 of 640 ~ 31.09%
B 229 of 640 ~ 35.78%

%33.13
%31.09
%35.78

CMYK color model

#D4C7E5 color CMYK value is (7,13,0,10).

  • cyan value is 7.42%
  • magenta value is 13.10%
  • yellow value is 0.00%
  • key color value is 10.20%
CMYK:
(7,13,0,10)
C7M13Y0K10 
(7%,13%,0%,10%)
(0.07/0.13/0.00/0.10)	

CMYK percentages

%7.42
%13.1
%0
%10.2

Codes

Color #D4C7E5 in popluar color models

D4C7E5
RGB212199229
HSL266°36.59%83.92%
HSB/HSV266°13.10%89.80%
CMYK7.42%13.10%0.00%
10.20%

Color #D4C7E5 in popluar number systems.

HEXD4C7E5
Decimal212199229
Binary110101001100011111100101
Octal324307345

Shades and tints

Shades of #D4C7E5

#D4C7E5
(212,199,229)
#C1B5D1
(193,181,209)
#AEA3BD
(174,163,189)
#9B91A9
(155,145,169)
#887F95
(136,127,149)
#756D81
(117,109,129)
#625B6D
(98,91,109)
#4F4959
(79,73,89)
#3C3745
(60,55,69)
#292531
(41,37,49)
#16131D
(22,19,29)
#000000
(0,0,0)

Tints of #D4C7E5

#D4C7E5
(212,199,229)
#D7CCE7
(215,204,231)
#DAD1E9
(218,209,233)
#DDD6EB
(221,214,235)
#E0DBED
(224,219,237)
#E3E0EF
(227,224,239)
#E6E5F1
(230,229,241)
#E9EAF3
(233,234,243)
#ECEFF5
(236,239,245)
#EFF4F7
(239,244,247)
#F2F9F9
(242,249,249)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D4C7E5 color. Also use rgb(212,199,229) instead hex code.

Text Font Color

.myTextColor { color: #D4C7E5; }

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

This text font color is #D4C7E5.


Background Color

.myBgColor { background-color: #D4C7E5; }

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

This div background color is #D4C7E5.


Border color

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

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

This div border color is #D4C7E5.


Opacity

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

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

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

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

This text has shadow with #D4C7E5 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D4C7E5 on black background.


Color preview on white background

This text has color #D4C7E5 on white background.



Black color preview on #D4C7E5 background

This text has black color on #D4C7E5 background.


White color preview on #D4C7E5 background

This text has white color on #D4C7E5 background.