COLOR #D8B3EC

HEX: #D8B3EC
RGB: (216,179,236)

Color info

#D8B3EC contains red, green and blue colors in about the same proportion. Web safe color of #D8B3EC is #CC99FF (or #C9F).

RGB color model

#D8B3EC color RGB value is (216,179,236).

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

RGB channels and saturation

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

216
179
236

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

Portions of RGB colors in percentages

R + G + B =
216 + 179 + 236 = 631 (100%)
R 216 of 631 ~ 34.23%
G 179 of 631 ~ 28.37%
B 236 of 631 ~ 37.4%

%34.23
%28.37
%37.4

CMYK color model

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

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

CMYK percentages

%8.47
%24.15
%0
%7.45

Codes

Color #D8B3EC in popluar color models

D8B3EC
RGB216179236
HSL279°60.00%81.37%
HSB/HSV279°24.15%92.55%
CMYK8.47%24.15%0.00%
7.45%

Color #D8B3EC in popluar number systems.

HEXD8B3EC
Decimal216179236
Binary110110001011001111101100
Octal330263354

Shades and tints

Shades of #D8B3EC

#D8B3EC
(216,179,236)
#C5A3D7
(197,163,215)
#B293C2
(178,147,194)
#9F83AD
(159,131,173)
#8C7398
(140,115,152)
#796383
(121,99,131)
#66536E
(102,83,110)
#534359
(83,67,89)
#403344
(64,51,68)
#2D232F
(45,35,47)
#1A131A
(26,19,26)
#000000
(0,0,0)

Tints of #D8B3EC

#D8B3EC
(216,179,236)
#DBB9ED
(219,185,237)
#DEBFEE
(222,191,238)
#E1C5EF
(225,197,239)
#E4CBF0
(228,203,240)
#E7D1F1
(231,209,241)
#EAD7F2
(234,215,242)
#EDDDF3
(237,221,243)
#F0E3F4
(240,227,244)
#F3E9F5
(243,233,245)
#F6EFF6
(246,239,246)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #D8B3EC; }

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

This text font color is #D8B3EC.


Background Color

.myBgColor { background-color: #D8B3EC; }

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

This div background color is #D8B3EC.


Border color

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

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

This div border color is #D8B3EC.


Opacity

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

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

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

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

This text has shadow with #D8B3EC color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D8B3EC on black background.


Color preview on white background

This text has color #D8B3EC on white background.



Black color preview on #D8B3EC background

This text has black color on #D8B3EC background.


White color preview on #D8B3EC background

This text has white color on #D8B3EC background.