COLOR #D8BAF4

HEX: #D8BAF4
RGB: (216,186,244)

Color info

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

RGB color model

#D8BAF4 color RGB value is (216,186,244).

  • red value is 216;
  • green value is 186;
  • blue value is 244.
RGB:
(216,186,244)
(85%,73%,96%)

RGB channels and saturation

R 216 of 255 = 85%
G 186 of 255 = 73%
B 244 of 255 = 96%

216
186
244

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

Portions of RGB colors in percentages

R + G + B =
216 + 186 + 244 = 646 (100%)
R 216 of 646 ~ 33.44%
G 186 of 646 ~ 28.79%
B 244 of 646 ~ 37.77%

%33.44
%28.79
%37.77

CMYK color model

#D8BAF4 color CMYK value is (11,24,0,4).

  • cyan value is 11.48%
  • magenta value is 23.77%
  • yellow value is 0.00%
  • key color value is 4.31%
CMYK:
(11,24,0,4)
C11M24Y0K4 
(11%,24%,0%,4%)
(0.11/0.24/0.00/0.04)	

CMYK percentages

%11.48
%23.77
%0
%4.31

Codes

Color #D8BAF4 in popluar color models

D8BAF4
RGB216186244
HSL271°72.50%84.31%
HSB/HSV271°23.77%95.69%
CMYK11.48%23.77%0.00%
4.31%

Color #D8BAF4 in popluar number systems.

HEXD8BAF4
Decimal216186244
Binary110110001011101011110100
Octal330272364

Shades and tints

Shades of #D8BAF4

#D8BAF4
(216,186,244)
#C5AADE
(197,170,222)
#B29AC8
(178,154,200)
#9F8AB2
(159,138,178)
#8C7A9C
(140,122,156)
#796A86
(121,106,134)
#665A70
(102,90,112)
#534A5A
(83,74,90)
#403A44
(64,58,68)
#2D2A2E
(45,42,46)
#1A1A18
(26,26,24)
#000000
(0,0,0)

Tints of #D8BAF4

#D8BAF4
(216,186,244)
#DBC0F5
(219,192,245)
#DEC6F6
(222,198,246)
#E1CCF7
(225,204,247)
#E4D2F8
(228,210,248)
#E7D8F9
(231,216,249)
#EADEFA
(234,222,250)
#EDE4FB
(237,228,251)
#F0EAFC
(240,234,252)
#F3F0FD
(243,240,253)
#F6F6FE
(246,246,254)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D8BAF4 color. Also use rgb(216,186,244) instead hex code.

Text Font Color

.myTextColor { color: #D8BAF4; }

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

This text font color is #D8BAF4.


Background Color

.myBgColor { background-color: #D8BAF4; }

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

This div background color is #D8BAF4.


Border color

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

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

This div border color is #D8BAF4.


Opacity

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

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

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

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

This text has shadow with #D8BAF4 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D8BAF4 on black background.


Color preview on white background

This text has color #D8BAF4 on white background.



Black color preview on #D8BAF4 background

This text has black color on #D8BAF4 background.


White color preview on #D8BAF4 background

This text has white color on #D8BAF4 background.