COLOR #D8CCF7

HEX: #D8CCF7
RGB: (216,204,247)

Color info

#D8CCF7 contains red, green and blue colors in about the same proportion. Web safe color of #D8CCF7 is #CCCCFF (or #CCF).

RGB color model

#D8CCF7 color RGB value is (216,204,247).

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

RGB channels and saturation

R 216 of 255 = 85%
G 204 of 255 = 80%
B 247 of 255 = 97%

216
204
247

R + G + B ~ 87%. #D8CCF7 is light color.

Portions of RGB colors in percentages

R + G + B =
216 + 204 + 247 = 667 (100%)
R 216 of 667 ~ 32.38%
G 204 of 667 ~ 30.58%
B 247 of 667 ~ 37.03%

%32.38
%30.58
%37.03

CMYK color model

#D8CCF7 color CMYK value is (13,17,0,3).

  • cyan value is 12.55%
  • magenta value is 17.41%
  • yellow value is 0.00%
  • key color value is 3.14%
CMYK:
(13,17,0,3)
C13M17Y0K3 
(13%,17%,0%,3%)
(0.13/0.17/0.00/0.03)	

CMYK percentages

%12.55
%17.41
%0
%3.14

Codes

Color #D8CCF7 in popluar color models

D8CCF7
RGB216204247
HSL257°72.88%88.43%
HSB/HSV257°17.41%96.86%
CMYK12.55%17.41%0.00%
3.14%

Color #D8CCF7 in popluar number systems.

HEXD8CCF7
Decimal216204247
Binary110110001100110011110111
Octal330314367

Shades and tints

Shades of #D8CCF7

#D8CCF7
(216,204,247)
#C5BAE1
(197,186,225)
#B2A8CB
(178,168,203)
#9F96B5
(159,150,181)
#8C849F
(140,132,159)
#797289
(121,114,137)
#666073
(102,96,115)
#534E5D
(83,78,93)
#403C47
(64,60,71)
#2D2A31
(45,42,49)
#1A181B
(26,24,27)
#000000
(0,0,0)

Tints of #D8CCF7

#D8CCF7
(216,204,247)
#DBD0F7
(219,208,247)
#DED4F7
(222,212,247)
#E1D8F7
(225,216,247)
#E4DCF7
(228,220,247)
#E7E0F7
(231,224,247)
#EAE4F7
(234,228,247)
#EDE8F7
(237,232,247)
#F0ECF7
(240,236,247)
#F3F0F7
(243,240,247)
#F6F4F7
(246,244,247)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #D8CCF7; }

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

This text font color is #D8CCF7.


Background Color

.myBgColor { background-color: #D8CCF7; }

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

This div background color is #D8CCF7.


Border color

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

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

This div border color is #D8CCF7.


Opacity

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

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

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

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

This text has shadow with #D8CCF7 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D8CCF7 on black background.


Color preview on white background

This text has color #D8CCF7 on white background.



Black color preview on #D8CCF7 background

This text has black color on #D8CCF7 background.


White color preview on #D8CCF7 background

This text has white color on #D8CCF7 background.