COLOR #D8C1E1

HEX: #D8C1E1
RGB: (216,193,225)

Color info

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

RGB color model

#D8C1E1 color RGB value is (216,193,225).

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

RGB channels and saturation

R 216 of 255 = 85%
G 193 of 255 = 76%
B 225 of 255 = 88%

216
193
225

R + G + B ~ 83%. #D8C1E1 is quite light color.

Portions of RGB colors in percentages

R + G + B =
216 + 193 + 225 = 634 (100%)
R 216 of 634 ~ 34.07%
G 193 of 634 ~ 30.44%
B 225 of 634 ~ 35.49%

%34.07
%30.44
%35.49

CMYK color model

#D8C1E1 color CMYK value is (4,14,0,12).

  • cyan value is 4.00%
  • magenta value is 14.22%
  • yellow value is 0.00%
  • key color value is 11.76%
CMYK:
(4,14,0,12)
C4M14Y0K12 
(4%,14%,0%,12%)
(0.04/0.14/0.00/0.12)	

CMYK percentages

%4
%14.22
%0
%11.76

Codes

Color #D8C1E1 in popluar color models

D8C1E1
RGB216193225
HSL283°34.78%81.96%
HSB/HSV283°14.22%88.24%
CMYK4.00%14.22%0.00%
11.76%

Color #D8C1E1 in popluar number systems.

HEXD8C1E1
Decimal216193225
Binary110110001100000111100001
Octal330301341

Shades and tints

Shades of #D8C1E1

#D8C1E1
(216,193,225)
#C5B0CD
(197,176,205)
#B29FB9
(178,159,185)
#9F8EA5
(159,142,165)
#8C7D91
(140,125,145)
#796C7D
(121,108,125)
#665B69
(102,91,105)
#534A55
(83,74,85)
#403941
(64,57,65)
#2D282D
(45,40,45)
#1A1719
(26,23,25)
#000000
(0,0,0)

Tints of #D8C1E1

#D8C1E1
(216,193,225)
#DBC6E3
(219,198,227)
#DECBE5
(222,203,229)
#E1D0E7
(225,208,231)
#E4D5E9
(228,213,233)
#E7DAEB
(231,218,235)
#EADFED
(234,223,237)
#EDE4EF
(237,228,239)
#F0E9F1
(240,233,241)
#F3EEF3
(243,238,243)
#F6F3F5
(246,243,245)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #D8C1E1; }

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

This text font color is #D8C1E1.


Background Color

.myBgColor { background-color: #D8C1E1; }

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

This div background color is #D8C1E1.


Border color

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

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

This div border color is #D8C1E1.


Opacity

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

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

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

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

This text has shadow with #D8C1E1 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D8C1E1 on black background.


Color preview on white background

This text has color #D8C1E1 on white background.



Black color preview on #D8C1E1 background

This text has black color on #D8C1E1 background.


White color preview on #D8C1E1 background

This text has white color on #D8C1E1 background.