COLOR #D8CCE4

HEX: #D8CCE4
RGB: (216,204,228)

Color info

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

RGB color model

#D8CCE4 color RGB value is (216,204,228).

  • red value is 216;
  • green value is 204;
  • blue value is 228.
RGB:
(216,204,228)
(85%,80%,89%)

RGB channels and saturation

R 216 of 255 = 85%
G 204 of 255 = 80%
B 228 of 255 = 89%

216
204
228

R + G + B ~ 85%. #D8CCE4 is quite light color.

Portions of RGB colors in percentages

R + G + B =
216 + 204 + 228 = 648 (100%)
R 216 of 648 ~ 33.33%
G 204 of 648 ~ 31.48%
B 228 of 648 ~ 35.19%

%33.33
%31.48
%35.19

CMYK color model

#D8CCE4 color CMYK value is (5,11,0,11).

  • cyan value is 5.26%
  • magenta value is 10.53%
  • yellow value is 0.00%
  • key color value is 10.59%
CMYK:
(5,11,0,11)
C5M11Y0K11 
(5%,11%,0%,11%)
(0.05/0.11/0.00/0.11)	

CMYK percentages

%5.26
%10.53
%0
%10.59

Codes

Color #D8CCE4 in popluar color models

D8CCE4
RGB216204228
HSL270°30.77%84.71%
HSB/HSV270°10.53%89.41%
CMYK5.26%10.53%0.00%
10.59%

Color #D8CCE4 in popluar number systems.

HEXD8CCE4
Decimal216204228
Binary110110001100110011100100
Octal330314344

Shades and tints

Shades of #D8CCE4

#D8CCE4
(216,204,228)
#C5BAD0
(197,186,208)
#B2A8BC
(178,168,188)
#9F96A8
(159,150,168)
#8C8494
(140,132,148)
#797280
(121,114,128)
#66606C
(102,96,108)
#534E58
(83,78,88)
#403C44
(64,60,68)
#2D2A30
(45,42,48)
#1A181C
(26,24,28)
#000000
(0,0,0)

Tints of #D8CCE4

#D8CCE4
(216,204,228)
#DBD0E6
(219,208,230)
#DED4E8
(222,212,232)
#E1D8EA
(225,216,234)
#E4DCEC
(228,220,236)
#E7E0EE
(231,224,238)
#EAE4F0
(234,228,240)
#EDE8F2
(237,232,242)
#F0ECF4
(240,236,244)
#F3F0F6
(243,240,246)
#F6F4F8
(246,244,248)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D8CCE4 color. Also use rgb(216,204,228) instead hex code.

Text Font Color

.myTextColor { color: #D8CCE4; }

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

This text font color is #D8CCE4.


Background Color

.myBgColor { background-color: #D8CCE4; }

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

This div background color is #D8CCE4.


Border color

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

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

This div border color is #D8CCE4.


Opacity

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

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

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

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

This text has shadow with #D8CCE4 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D8CCE4 on black background.


Color preview on white background

This text has color #D8CCE4 on white background.



Black color preview on #D8CCE4 background

This text has black color on #D8CCE4 background.


White color preview on #D8CCE4 background

This text has white color on #D8CCE4 background.