COLOR #D897E2

HEX: #D897E2
RGB: (216,151,226)

Color info

#D897E2 contains mainly red and blue colors. Web safe color of #D897E2 is #CC99CC (or #C9C).

RGB color model

#D897E2 color RGB value is (216,151,226).

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

RGB channels and saturation

R 216 of 255 = 85%
G 151 of 255 = 59%
B 226 of 255 = 89%

216
151
226

R + G + B ~ 78%. #D897E2 is quite light color.

Portions of RGB colors in percentages

R + G + B =
216 + 151 + 226 = 593 (100%)
R 216 of 593 ~ 36.42%
G 151 of 593 ~ 25.46%
B 226 of 593 ~ 38.11%

%36.42
%25.46
%38.11

CMYK color model

#D897E2 color CMYK value is (4,33,0,11).

  • cyan value is 4.42%
  • magenta value is 33.19%
  • yellow value is 0.00%
  • key color value is 11.37%
CMYK:
(4,33,0,11)
C4M33Y0K11 
(4%,33%,0%,11%)
(0.04/0.33/0.00/0.11)	

CMYK percentages

%4.42
%33.19
%0
%11.37

Codes

Color #D897E2 in popluar color models

D897E2
RGB216151226
HSL292°56.39%73.92%
HSB/HSV292°33.19%88.63%
CMYK4.42%33.19%0.00%
11.37%

Color #D897E2 in popluar number systems.

HEXD897E2
Decimal216151226
Binary110110001001011111100010
Octal330227342

Shades and tints

Shades of #D897E2

#D897E2
(216,151,226)
#C58ACE
(197,138,206)
#B27DBA
(178,125,186)
#9F70A6
(159,112,166)
#8C6392
(140,99,146)
#79567E
(121,86,126)
#66496A
(102,73,106)
#533C56
(83,60,86)
#402F42
(64,47,66)
#2D222E
(45,34,46)
#1A151A
(26,21,26)
#000000
(0,0,0)

Tints of #D897E2

#D897E2
(216,151,226)
#DBA0E4
(219,160,228)
#DEA9E6
(222,169,230)
#E1B2E8
(225,178,232)
#E4BBEA
(228,187,234)
#E7C4EC
(231,196,236)
#EACDEE
(234,205,238)
#EDD6F0
(237,214,240)
#F0DFF2
(240,223,242)
#F3E8F4
(243,232,244)
#F6F1F6
(246,241,246)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #D897E2; }

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

This text font color is #D897E2.


Background Color

.myBgColor { background-color: #D897E2; }

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

This div background color is #D897E2.


Border color

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

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

This div border color is #D897E2.


Opacity

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

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

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

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

This text has shadow with #D897E2 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D897E2 on black background.


Color preview on white background

This text has color #D897E2 on white background.



Black color preview on #D897E2 background

This text has black color on #D897E2 background.


White color preview on #D897E2 background

This text has white color on #D897E2 background.