COLOR #D8C1D9

HEX: #D8C1D9
RGB: (216,193,217)

Color info

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

RGB color model

#D8C1D9 color RGB value is (216,193,217).

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

RGB channels and saturation

R 216 of 255 = 85%
G 193 of 255 = 76%
B 217 of 255 = 85%

216
193
217

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

Portions of RGB colors in percentages

R + G + B =
216 + 193 + 217 = 626 (100%)
R 216 of 626 ~ 34.5%
G 193 of 626 ~ 30.83%
B 217 of 626 ~ 34.66%

%34.5
%30.83
%34.66

CMYK color model

#D8C1D9 color CMYK value is (0,11,0,15).

  • cyan value is 0.46%
  • magenta value is 11.06%
  • yellow value is 0.00%
  • key color value is 14.90%
CMYK:
(0,11,0,15)
C0M11Y0K15 
(0%,11%,0%,15%)
(0.00/0.11/0.00/0.15)	

CMYK percentages

%0.46
%11.06
%0
%14.9

Codes

Color #D8C1D9 in popluar color models

D8C1D9
RGB216193217
HSL298°24.00%80.39%
HSB/HSV298°11.06%85.10%
CMYK0.46%11.06%0.00%
14.90%

Color #D8C1D9 in popluar number systems.

HEXD8C1D9
Decimal216193217
Binary110110001100000111011001
Octal330301331

Shades and tints

Shades of #D8C1D9

#D8C1D9
(216,193,217)
#C5B0C6
(197,176,198)
#B29FB3
(178,159,179)
#9F8EA0
(159,142,160)
#8C7D8D
(140,125,141)
#796C7A
(121,108,122)
#665B67
(102,91,103)
#534A54
(83,74,84)
#403941
(64,57,65)
#2D282E
(45,40,46)
#1A171B
(26,23,27)
#000000
(0,0,0)

Tints of #D8C1D9

#D8C1D9
(216,193,217)
#DBC6DC
(219,198,220)
#DECBDF
(222,203,223)
#E1D0E2
(225,208,226)
#E4D5E5
(228,213,229)
#E7DAE8
(231,218,232)
#EADFEB
(234,223,235)
#EDE4EE
(237,228,238)
#F0E9F1
(240,233,241)
#F3EEF4
(243,238,244)
#F6F3F7
(246,243,247)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #D8C1D9; }

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

This text font color is #D8C1D9.


Background Color

.myBgColor { background-color: #D8C1D9; }

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

This div background color is #D8C1D9.


Border color

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

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

This div border color is #D8C1D9.


Opacity

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

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

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

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

This text has shadow with #D8C1D9 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D8C1D9 on black background.


Color preview on white background

This text has color #D8C1D9 on white background.



Black color preview on #D8C1D9 background

This text has black color on #D8C1D9 background.


White color preview on #D8C1D9 background

This text has white color on #D8C1D9 background.