COLOR #D8B2E2

HEX: #D8B2E2
RGB: (216,178,226)

Color info

#D8B2E2 contains red, green and blue colors in about the same proportion. Web safe color of #D8B2E2 is #CC99CC (or #C9C).

RGB color model

#D8B2E2 color RGB value is (216,178,226).

  • red value is 216;
  • green value is 178;
  • blue value is 226.
RGB:
(216,178,226)
(85%,70%,89%)

RGB channels and saturation

R 216 of 255 = 85%
G 178 of 255 = 70%
B 226 of 255 = 89%

216
178
226

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

Portions of RGB colors in percentages

R + G + B =
216 + 178 + 226 = 620 (100%)
R 216 of 620 ~ 34.84%
G 178 of 620 ~ 28.71%
B 226 of 620 ~ 36.45%

%34.84
%28.71
%36.45

CMYK color model

#D8B2E2 color CMYK value is (4,21,0,11).

  • cyan value is 4.42%
  • magenta value is 21.24%
  • yellow value is 0.00%
  • key color value is 11.37%
CMYK:
(4,21,0,11)
C4M21Y0K11 
(4%,21%,0%,11%)
(0.04/0.21/0.00/0.11)	

CMYK percentages

%4.42
%21.24
%0
%11.37

Codes

Color #D8B2E2 in popluar color models

D8B2E2
RGB216178226
HSL288°45.28%79.22%
HSB/HSV288°21.24%88.63%
CMYK4.42%21.24%0.00%
11.37%

Color #D8B2E2 in popluar number systems.

HEXD8B2E2
Decimal216178226
Binary110110001011001011100010
Octal330262342

Shades and tints

Shades of #D8B2E2

#D8B2E2
(216,178,226)
#C5A2CE
(197,162,206)
#B292BA
(178,146,186)
#9F82A6
(159,130,166)
#8C7292
(140,114,146)
#79627E
(121,98,126)
#66526A
(102,82,106)
#534256
(83,66,86)
#403242
(64,50,66)
#2D222E
(45,34,46)
#1A121A
(26,18,26)
#000000
(0,0,0)

Tints of #D8B2E2

#D8B2E2
(216,178,226)
#DBB9E4
(219,185,228)
#DEC0E6
(222,192,230)
#E1C7E8
(225,199,232)
#E4CEEA
(228,206,234)
#E7D5EC
(231,213,236)
#EADCEE
(234,220,238)
#EDE3F0
(237,227,240)
#F0EAF2
(240,234,242)
#F3F1F4
(243,241,244)
#F6F8F6
(246,248,246)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D8B2E2 color. Also use rgb(216,178,226) instead hex code.

Text Font Color

.myTextColor { color: #D8B2E2; }

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

This text font color is #D8B2E2.


Background Color

.myBgColor { background-color: #D8B2E2; }

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

This div background color is #D8B2E2.


Border color

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

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

This div border color is #D8B2E2.


Opacity

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

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

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

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

This text has shadow with #D8B2E2 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D8B2E2 on black background.


Color preview on white background

This text has color #D8B2E2 on white background.



Black color preview on #D8B2E2 background

This text has black color on #D8B2E2 background.


White color preview on #D8B2E2 background

This text has white color on #D8B2E2 background.