COLOR #D8B8EC

HEX: #D8B8EC
RGB: (216,184,236)

Color info

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

RGB color model

#D8B8EC color RGB value is (216,184,236).

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

RGB channels and saturation

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

216
184
236

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

Portions of RGB colors in percentages

R + G + B =
216 + 184 + 236 = 636 (100%)
R 216 of 636 ~ 33.96%
G 184 of 636 ~ 28.93%
B 236 of 636 ~ 37.11%

%33.96
%28.93
%37.11

CMYK color model

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

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

CMYK percentages

%8.47
%22.03
%0
%7.45

Codes

Color #D8B8EC in popluar color models

D8B8EC
RGB216184236
HSL277°57.78%82.35%
HSB/HSV277°22.03%92.55%
CMYK8.47%22.03%0.00%
7.45%

Color #D8B8EC in popluar number systems.

HEXD8B8EC
Decimal216184236
Binary110110001011100011101100
Octal330270354

Shades and tints

Shades of #D8B8EC

#D8B8EC
(216,184,236)
#C5A8D7
(197,168,215)
#B298C2
(178,152,194)
#9F88AD
(159,136,173)
#8C7898
(140,120,152)
#796883
(121,104,131)
#66586E
(102,88,110)
#534859
(83,72,89)
#403844
(64,56,68)
#2D282F
(45,40,47)
#1A181A
(26,24,26)
#000000
(0,0,0)

Tints of #D8B8EC

#D8B8EC
(216,184,236)
#DBBEED
(219,190,237)
#DEC4EE
(222,196,238)
#E1CAEF
(225,202,239)
#E4D0F0
(228,208,240)
#E7D6F1
(231,214,241)
#EADCF2
(234,220,242)
#EDE2F3
(237,226,243)
#F0E8F4
(240,232,244)
#F3EEF5
(243,238,245)
#F6F4F6
(246,244,246)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #D8B8EC; }

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

This text font color is #D8B8EC.


Background Color

.myBgColor { background-color: #D8B8EC; }

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

This div background color is #D8B8EC.


Border color

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

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

This div border color is #D8B8EC.


Opacity

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

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

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

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

This text has shadow with #D8B8EC color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D8B8EC on black background.


Color preview on white background

This text has color #D8B8EC on white background.



Black color preview on #D8B8EC background

This text has black color on #D8B8EC background.


White color preview on #D8B8EC background

This text has white color on #D8B8EC background.