COLOR #D2C7DC

HEX: #D2C7DC
RGB: (210,199,220)

Color info

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

RGB color model

#D2C7DC color RGB value is (210,199,220).

  • red value is 210;
  • green value is 199;
  • blue value is 220.
RGB:
(210,199,220)
(82%,78%,86%)

RGB channels and saturation

R 210 of 255 = 82%
G 199 of 255 = 78%
B 220 of 255 = 86%

210
199
220

R + G + B ~ 82%. #D2C7DC is quite light color.

Portions of RGB colors in percentages

R + G + B =
210 + 199 + 220 = 629 (100%)
R 210 of 629 ~ 33.39%
G 199 of 629 ~ 31.64%
B 220 of 629 ~ 34.98%

%33.39
%31.64
%34.98

CMYK color model

#D2C7DC color CMYK value is (5,10,0,14).

  • cyan value is 4.55%
  • magenta value is 9.55%
  • yellow value is 0.00%
  • key color value is 13.73%
CMYK:
(5,10,0,14)
C5M10Y0K14 
(5%,10%,0%,14%)
(0.05/0.10/0.00/0.14)	

CMYK percentages

%4.55
%9.55
%0
%13.73

Codes

Color #D2C7DC in popluar color models

D2C7DC
RGB210199220
HSL271°23.08%82.16%
HSB/HSV271°9.55%86.27%
CMYK4.55%9.55%0.00%
13.73%

Color #D2C7DC in popluar number systems.

HEXD2C7DC
Decimal210199220
Binary110100101100011111011100
Octal322307334

Shades and tints

Shades of #D2C7DC

#D2C7DC
(210,199,220)
#BFB5C8
(191,181,200)
#ACA3B4
(172,163,180)
#9991A0
(153,145,160)
#867F8C
(134,127,140)
#736D78
(115,109,120)
#605B64
(96,91,100)
#4D4950
(77,73,80)
#3A373C
(58,55,60)
#272528
(39,37,40)
#141314
(20,19,20)
#000000
(0,0,0)

Tints of #D2C7DC

#D2C7DC
(210,199,220)
#D6CCDF
(214,204,223)
#DAD1E2
(218,209,226)
#DED6E5
(222,214,229)
#E2DBE8
(226,219,232)
#E6E0EB
(230,224,235)
#EAE5EE
(234,229,238)
#EEEAF1
(238,234,241)
#F2EFF4
(242,239,244)
#F6F4F7
(246,244,247)
#FAF9FA
(250,249,250)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D2C7DC color. Also use rgb(210,199,220) instead hex code.

Text Font Color

.myTextColor { color: #D2C7DC; }

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

This text font color is #D2C7DC.


Background Color

.myBgColor { background-color: #D2C7DC; }

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

This div background color is #D2C7DC.


Border color

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

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

This div border color is #D2C7DC.


Opacity

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

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

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

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

This text has shadow with #D2C7DC color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D2C7DC on black background.


Color preview on white background

This text has color #D2C7DC on white background.



Black color preview on #D2C7DC background

This text has black color on #D2C7DC background.


White color preview on #D2C7DC background

This text has white color on #D2C7DC background.