COLOR #D8B2E1

HEX: #D8B2E1 RGB: (216,178,225)

Color info

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

RGB color model

#D8B2E1 color RGB value is (216,178,225).

RGB: (216,178,225) (85%, 70%, 88%)

RGB channels and saturation

R 216 of 255 = 85%
G 178 of 255 = 70%
B 225 of 255 = 88%

216
178
225

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

Portions of RGB colors in percentages

R + G + B = 216 + 178 + 225 = 619 (100%)
R 216 of 619 ~ 34.89%
G 178 of 619 ~ 28.76%
B 225 of 619 ~ 36.35'%

%34.89
%28.76
%36.35

CMYK color model

#D8B2E1 color CMYK value is (4,21,0,12).

  • cyan value is 4.00%
  • magenta value is 20.89%
  • yellow value is 0.00%
  • key color value is 11.76%

CMYK: (4,21,0,12)
C4M21Y0K12 (4%, 21%, 0%, 12%)
(0.04 / 0.21 / 0.00 / 0.12)

CMYK percentages

%4
%20.89
%0
%11.76

Codes

Color #D8B2E1 in popluar color models

D8 B2 E1
RGB 216 178 225
HSL 289° 43.93% 79.02%
HSB/HSV 289° 20.89% 88.24%
CMYK 4.00% 20.89% 0.00%
11.76%

Color #D8B2E1 in popluar number systems.

HEX D8 B2 E1
Decimal 216 178 225
Binary 11011000 10110010 11100001
Octal 330 262 341

Shades and tints

Shades of #D8B2E1

#D8B2E1
(216,178,225)
#C5A2CD
(197,162,205)
#B292B9
(178,146,185)
#9F82A5
(159,130,165)
#8C7291
(140,114,145)
#79627D
(121,98,125)
#665269
(102,82,105)
#534255
(83,66,85)
#403241
(64,50,65)
#2D222D
(45,34,45)
#1A1219
(26,18,25)
#000000
(0,0,0)

Tints of #D8B2E1

#D8B2E1
(216,178,225)
#DBB9E3
(219,185,227)
#DEC0E5
(222,192,229)
#E1C7E7
(225,199,231)
#E4CEE9
(228,206,233)
#E7D5EB
(231,213,235)
#EADCED
(234,220,237)
#EDE3EF
(237,227,239)
#F0EAF1
(240,234,241)
#F3F1F3
(243,241,243)
#F6F8F5
(246,248,245)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #D8B2E1; }

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

This text font color is #D8B2E1.

Background Color

.myBgColor { background-color: #D8B2E1; }

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

This div background color is #D8B2E1.

Border color

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

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

This div border color is #D8B2E1.

Opacity

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

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

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

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

This text has shadow with #D8B2E1 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #D8B2E1.

Preview

Color preview on black background

This text has color #D8B2E1 on black background.


Color preview on white background

This text has color #D8B2E1 on white background.


Black color preview on #D8B2E1 background

This text has black color on #D8B2E1 background.


White color preview on #D8B2E1 background

This text has white color on #D8B2E1 background.


Related colors

Complementary color

Complementary color for #hex is #274D1E.


I love getcolorcode.com

Triadic colors

1 #E1D8B2 and #B2E1D8 with #D8B2E1 are triadic colors.

2 #E1B2D8 and #B2D8E1 with #D8B2E1 are triadic colors.