COLOR #D8D8EC

HEX: #D8D8EC
RGB: (216,216,236)

Color info

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

RGB color model

#D8D8EC color RGB value is (216,216,236).

  • red value is 216;
  • green value is 216;
  • blue value is 236.
RGB:
(216,216,236)
(85%,85%,93%)

RGB channels and saturation

R 216 of 255 = 85%
G 216 of 255 = 85%
B 236 of 255 = 93%

216
216
236

R + G + B ~ 88%. #D8D8EC is light color.

Portions of RGB colors in percentages

R + G + B =
216 + 216 + 236 = 668 (100%)
R 216 of 668 ~ 32.34%
G 216 of 668 ~ 32.34%
B 236 of 668 ~ 35.33%

%32.34
%32.34
%35.33

CMYK color model

#D8D8EC color CMYK value is (8,8,0,7).

  • cyan value is 8.47%
  • magenta value is 8.47%
  • yellow value is 0.00%
  • key color value is 7.45%
CMYK:
(8,8,0,7)
C8M8Y0K7 
(8%,8%,0%,7%)
(0.08/0.08/0.00/0.07)	

CMYK percentages

%8.47
%8.47
%0
%7.45

Codes

Color #D8D8EC in popluar color models

D8D8EC
RGB216216236
HSL240°34.48%88.63%
HSB/HSV240°8.47%92.55%
CMYK8.47%8.47%0.00%
7.45%

Color #D8D8EC in popluar number systems.

HEXD8D8EC
Decimal216216236
Binary110110001101100011101100
Octal330330354

Shades and tints

Shades of #D8D8EC

#D8D8EC
(216,216,236)
#C5C5D7
(197,197,215)
#B2B2C2
(178,178,194)
#9F9FAD
(159,159,173)
#8C8C98
(140,140,152)
#797983
(121,121,131)
#66666E
(102,102,110)
#535359
(83,83,89)
#404044
(64,64,68)
#2D2D2F
(45,45,47)
#1A1A1A
(26,26,26)
#000000
(0,0,0)

Tints of #D8D8EC

#D8D8EC
(216,216,236)
#DBDBED
(219,219,237)
#DEDEEE
(222,222,238)
#E1E1EF
(225,225,239)
#E4E4F0
(228,228,240)
#E7E7F1
(231,231,241)
#EAEAF2
(234,234,242)
#EDEDF3
(237,237,243)
#F0F0F4
(240,240,244)
#F3F3F5
(243,243,245)
#F6F6F6
(246,246,246)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #D8D8EC; }

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

This text font color is #D8D8EC.


Background Color

.myBgColor { background-color: #D8D8EC; }

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

This div background color is #D8D8EC.


Border color

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

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

This div border color is #D8D8EC.


Opacity

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

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

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

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

This text has shadow with #D8D8EC color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D8D8EC on black background.


Color preview on white background

This text has color #D8D8EC on white background.



Black color preview on #D8D8EC background

This text has black color on #D8D8EC background.


White color preview on #D8D8EC background

This text has white color on #D8D8EC background.