COLOR #D8B7DC

HEX: #D8B7DC
RGB: (216,183,220)

Color info

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

RGB color model

#D8B7DC color RGB value is (216,183,220).

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

RGB channels and saturation

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

216
183
220

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

Portions of RGB colors in percentages

R + G + B =
216 + 183 + 220 = 619 (100%)
R 216 of 619 ~ 34.89%
G 183 of 619 ~ 29.56%
B 220 of 619 ~ 35.54%

%34.89
%29.56
%35.54

CMYK color model

#D8B7DC color CMYK value is (2,17,0,14).

  • cyan value is 1.82%
  • magenta value is 16.82%
  • yellow value is 0.00%
  • key color value is 13.73%
CMYK:
(2,17,0,14)
C2M17Y0K14 
(2%,17%,0%,14%)
(0.02/0.17/0.00/0.14)	

CMYK percentages

%1.82
%16.82
%0
%13.73

Codes

Color #D8B7DC in popluar color models

D8B7DC
RGB216183220
HSL294°34.58%79.02%
HSB/HSV294°16.82%86.27%
CMYK1.82%16.82%0.00%
13.73%

Color #D8B7DC in popluar number systems.

HEXD8B7DC
Decimal216183220
Binary110110001011011111011100
Octal330267334

Shades and tints

Shades of #D8B7DC

#D8B7DC
(216,183,220)
#C5A7C8
(197,167,200)
#B297B4
(178,151,180)
#9F87A0
(159,135,160)
#8C778C
(140,119,140)
#796778
(121,103,120)
#665764
(102,87,100)
#534750
(83,71,80)
#40373C
(64,55,60)
#2D2728
(45,39,40)
#1A1714
(26,23,20)
#000000
(0,0,0)

Tints of #D8B7DC

#D8B7DC
(216,183,220)
#DBBDDF
(219,189,223)
#DEC3E2
(222,195,226)
#E1C9E5
(225,201,229)
#E4CFE8
(228,207,232)
#E7D5EB
(231,213,235)
#EADBEE
(234,219,238)
#EDE1F1
(237,225,241)
#F0E7F4
(240,231,244)
#F3EDF7
(243,237,247)
#F6F3FA
(246,243,250)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #D8B7DC; }

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

This text font color is #D8B7DC.


Background Color

.myBgColor { background-color: #D8B7DC; }

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

This div background color is #D8B7DC.


Border color

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

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

This div border color is #D8B7DC.


Opacity

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

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

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

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

This text has shadow with #D8B7DC color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D8B7DC on black background.


Color preview on white background

This text has color #D8B7DC on white background.



Black color preview on #D8B7DC background

This text has black color on #D8B7DC background.


White color preview on #D8B7DC background

This text has white color on #D8B7DC background.