COLOR #D8B8DC

HEX: #D8B8DC
RGB: (216,184,220)

Color info

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

RGB color model

#D8B8DC color RGB value is (216,184,220).

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

RGB channels and saturation

R 216 of 255 = 85%
G 184 of 255 = 72%
B 220 of 255 = 86%

216
184
220

R + G + B ~ 81%. #D8B8DC is quite light color.

Portions of RGB colors in percentages

R + G + B =
216 + 184 + 220 = 620 (100%)
R 216 of 620 ~ 34.84%
G 184 of 620 ~ 29.68%
B 220 of 620 ~ 35.48%

%34.84
%29.68
%35.48

CMYK color model

#D8B8DC color CMYK value is (2,16,0,14).

  • cyan value is 1.82%
  • magenta value is 16.36%
  • yellow value is 0.00%
  • key color value is 13.73%
CMYK:
(2,16,0,14)
C2M16Y0K14 
(2%,16%,0%,14%)
(0.02/0.16/0.00/0.14)	

CMYK percentages

%1.82
%16.36
%0
%13.73

Codes

Color #D8B8DC in popluar color models

D8B8DC
RGB216184220
HSL293°33.96%79.22%
HSB/HSV293°16.36%86.27%
CMYK1.82%16.36%0.00%
13.73%

Color #D8B8DC in popluar number systems.

HEXD8B8DC
Decimal216184220
Binary110110001011100011011100
Octal330270334

Shades and tints

Shades of #D8B8DC

#D8B8DC
(216,184,220)
#C5A8C8
(197,168,200)
#B298B4
(178,152,180)
#9F88A0
(159,136,160)
#8C788C
(140,120,140)
#796878
(121,104,120)
#665864
(102,88,100)
#534850
(83,72,80)
#40383C
(64,56,60)
#2D2828
(45,40,40)
#1A1814
(26,24,20)
#000000
(0,0,0)

Tints of #D8B8DC

#D8B8DC
(216,184,220)
#DBBEDF
(219,190,223)
#DEC4E2
(222,196,226)
#E1CAE5
(225,202,229)
#E4D0E8
(228,208,232)
#E7D6EB
(231,214,235)
#EADCEE
(234,220,238)
#EDE2F1
(237,226,241)
#F0E8F4
(240,232,244)
#F3EEF7
(243,238,247)
#F6F4FA
(246,244,250)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #D8B8DC; }

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

This text font color is #D8B8DC.


Background Color

.myBgColor { background-color: #D8B8DC; }

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

This div background color is #D8B8DC.


Border color

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

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

This div border color is #D8B8DC.


Opacity

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

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

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

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

This text has shadow with #D8B8DC color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D8B8DC on black background.


Color preview on white background

This text has color #D8B8DC on white background.



Black color preview on #D8B8DC background

This text has black color on #D8B8DC background.


White color preview on #D8B8DC background

This text has white color on #D8B8DC background.