COLOR #D8C0D9

HEX: #D8C0D9
RGB: (216,192,217)

Color info

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

RGB color model

#D8C0D9 color RGB value is (216,192,217).

  • red value is 216;
  • green value is 192;
  • blue value is 217.
RGB:
(216,192,217)
(85%,75%,85%)

RGB channels and saturation

R 216 of 255 = 85%
G 192 of 255 = 75%
B 217 of 255 = 85%

216
192
217

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

Portions of RGB colors in percentages

R + G + B =
216 + 192 + 217 = 625 (100%)
R 216 of 625 ~ 34.56%
G 192 of 625 ~ 30.72%
B 217 of 625 ~ 34.72%

%34.56
%30.72
%34.72

CMYK color model

#D8C0D9 color CMYK value is (0,12,0,15).

  • cyan value is 0.46%
  • magenta value is 11.52%
  • yellow value is 0.00%
  • key color value is 14.90%
CMYK:
(0,12,0,15)
C0M12Y0K15 
(0%,12%,0%,15%)
(0.00/0.12/0.00/0.15)	

CMYK percentages

%0.46
%11.52
%0
%14.9

Codes

Color #D8C0D9 in popluar color models

D8C0D9
RGB216192217
HSL298°24.75%80.20%
HSB/HSV298°11.52%85.10%
CMYK0.46%11.52%0.00%
14.90%

Color #D8C0D9 in popluar number systems.

HEXD8C0D9
Decimal216192217
Binary110110001100000011011001
Octal330300331

Shades and tints

Shades of #D8C0D9

#D8C0D9
(216,192,217)
#C5AFC6
(197,175,198)
#B29EB3
(178,158,179)
#9F8DA0
(159,141,160)
#8C7C8D
(140,124,141)
#796B7A
(121,107,122)
#665A67
(102,90,103)
#534954
(83,73,84)
#403841
(64,56,65)
#2D272E
(45,39,46)
#1A161B
(26,22,27)
#000000
(0,0,0)

Tints of #D8C0D9

#D8C0D9
(216,192,217)
#DBC5DC
(219,197,220)
#DECADF
(222,202,223)
#E1CFE2
(225,207,226)
#E4D4E5
(228,212,229)
#E7D9E8
(231,217,232)
#EADEEB
(234,222,235)
#EDE3EE
(237,227,238)
#F0E8F1
(240,232,241)
#F3EDF4
(243,237,244)
#F6F2F7
(246,242,247)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D8C0D9 color. Also use rgb(216,192,217) instead hex code.

Text Font Color

.myTextColor { color: #D8C0D9; }

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

This text font color is #D8C0D9.


Background Color

.myBgColor { background-color: #D8C0D9; }

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

This div background color is #D8C0D9.


Border color

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

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

This div border color is #D8C0D9.


Opacity

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

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

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

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

This text has shadow with #D8C0D9 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D8C0D9 on black background.


Color preview on white background

This text has color #D8C0D9 on white background.



Black color preview on #D8C0D9 background

This text has black color on #D8C0D9 background.


White color preview on #D8C0D9 background

This text has white color on #D8C0D9 background.