COLOR #D8B4FF

HEX: #D8B4FF
RGB: (216,180,255)

Color info

#D8B4FF contains mainly red and blue colors. Web safe color of #D8B4FF is #CCCCFF (or #CCF).

RGB color model

#D8B4FF color RGB value is (216,180,255).

  • red value is 216;
  • green value is 180;
  • blue value is 255.
RGB:
(216,180,255)
(85%,71%,100%)

RGB channels and saturation

R 216 of 255 = 85%
G 180 of 255 = 71%
B 255 of 255 = 100%

216
180
255

R + G + B ~ 85%. #D8B4FF is quite light color.

Portions of RGB colors in percentages

R + G + B =
216 + 180 + 255 = 651 (100%)
R 216 of 651 ~ 33.18%
G 180 of 651 ~ 27.65%
B 255 of 651 ~ 39.17%

%33.18
%27.65
%39.17

CMYK color model

#D8B4FF color CMYK value is (15,29,0,0).

  • cyan value is 15.29%
  • magenta value is 29.41%
  • yellow value is 0.00%
  • key color value is 0.00%
CMYK:
(15,29,0,0)
C15M29Y0K0 
(15%,29%,0%,0%)
(0.15/0.29/0.00/0.00)	

CMYK percentages

%15.29
%29.41
%0
%0

Codes

Color #D8B4FF in popluar color models

D8B4FF
RGB216180255
HSL269°100.00%85.29%
HSB/HSV269°29.41%100.00%
CMYK15.29%29.41%0.00%
0.00%

Color #D8B4FF in popluar number systems.

HEXD8B4FF
Decimal216180255
Binary110110001011010011111111
Octal330264377

Shades and tints

Shades of #D8B4FF

#D8B4FF
(216,180,255)
#C5A4E8
(197,164,232)
#B294D1
(178,148,209)
#9F84BA
(159,132,186)
#8C74A3
(140,116,163)
#79648C
(121,100,140)
#665475
(102,84,117)
#53445E
(83,68,94)
#403447
(64,52,71)
#2D2430
(45,36,48)
#1A1419
(26,20,25)
#000000
(0,0,0)

Tints of #D8B4FF

#D8B4FF
(216,180,255)
#DBBAFF
(219,186,255)
#DEC0FF
(222,192,255)
#E1C6FF
(225,198,255)
#E4CCFF
(228,204,255)
#E7D2FF
(231,210,255)
#EAD8FF
(234,216,255)
#EDDEFF
(237,222,255)
#F0E4FF
(240,228,255)
#F3EAFF
(243,234,255)
#F6F0FF
(246,240,255)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #D8B4FF; }

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

This text font color is #D8B4FF.


Background Color

.myBgColor { background-color: #D8B4FF; }

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

This div background color is #D8B4FF.


Border color

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

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

This div border color is #D8B4FF.


Opacity

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

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

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

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

This text has shadow with #D8B4FF color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D8B4FF on black background.


Color preview on white background

This text has color #D8B4FF on white background.



Black color preview on #D8B4FF background

This text has black color on #D8B4FF background.


White color preview on #D8B4FF background

This text has white color on #D8B4FF background.