COLOR #872197

HEX: #872197 RGB: (135,33,151)

Color info

#872197 contains mainly red and blue colors. Web safe color of #872197 is #993399 (or #939).

RGB color model

#872197 color RGB value is (135,33,151).

RGB: (135,33,151) (53%, 13%, 59%)

RGB channels and saturation

R 135 of 255 = 53%
G 33 of 255 = 13%
B 151 of 255 = 59%

135
33
151

R + G + B ~ 42%. #872197 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B = 135 + 33 + 151 = 319 (100%)
R 135 of 319 ~ 42.32%
G 33 of 319 ~ 10.34%
B 151 of 319 ~ 47.34'%

%42.32
%47.34

CMYK color model

#872197 color CMYK value is (11,78,0,41).

  • cyan value is 10.60%
  • magenta value is 78.15%
  • yellow value is 0.00%
  • key color value is 40.78%

CMYK: (11,78,0,41)
C11M78Y0K41 (11%, 78%, 0%, 41%)
(0.11 / 0.78 / 0.00 / 0.41)

CMYK percentages

%10.6
%78.15
%0
%40.78

Codes

Color #872197 in popluar color models

87 21 97
RGB 135 33 151
HSL 292° 64.13% 36.08%
HSB/HSV 292° 78.15% 59.22%
CMYK 10.60% 78.15% 0.00%
40.78%

Color #872197 in popluar number systems.

HEX 87 21 97
Decimal 135 33 151
Binary 10000111 100001 10010111
Octal 207 41 227

Shades and tints

Shades of #872197

#872197
(135,33,151)
#7B1E8A
(123,30,138)
#6F1B7D
(111,27,125)
#631870
(99,24,112)
#571563
(87,21,99)
#4B1256
(75,18,86)
#3F0F49
(63,15,73)
#330C3C
(51,12,60)
#27092F
(39,9,47)
#1B0622
(27,6,34)
#0F0315
(15,3,21)
#000000
(0,0,0)

Tints of #872197

#872197
(135,33,151)
#9135A0
(145,53,160)
#9B49A9
(155,73,169)
#A55DB2
(165,93,178)
#AF71BB
(175,113,187)
#B985C4
(185,133,196)
#C399CD
(195,153,205)
#CDADD6
(205,173,214)
#D7C1DF
(215,193,223)
#E1D5E8
(225,213,232)
#EBE9F1
(235,233,241)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #872197 color. Also use rgb(135,33,151) instead hex code.

Text Font Color

.myTextColor { color: #872197; }

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

This text font color is #872197.

Background Color

.myBgColor { background-color: #872197; }

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

This div background color is #872197.

Border color

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

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

This div border color is #872197.

Opacity

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

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

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

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

This text has shadow with #872197 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #872197.

Preview

Color preview on black background

This text has color #872197 on black background.


Color preview on white background

This text has color #872197 on white background.


Black color preview on #872197 background

This text has black color on #872197 background.


White color preview on #872197 background

This text has white color on #872197 background.


Related colors

Complementary color

Complementary color for #hex is #78DE68.


I love getcolorcode.com

Triadic colors

1 #978721 and #219787 with #872197 are triadic colors.

2 #972187 and #218797 with #872197 are triadic colors.