COLOR #872DC9

HEX: #872DC9 RGB: (135,45,201)

Color info

#872DC9 contains mainly blue color. Web safe color of #872DC9 is #9933CC (or #93C).

RGB color model

#872DC9 color RGB value is (135,45,201).

RGB: (135,45,201) (53%, 18%, 79%)

RGB channels and saturation

R 135 of 255 = 53%
G 45 of 255 = 18%
B 201 of 255 = 79%

135
45
201

R + G + B ~ 50%. #872DC9 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B = 135 + 45 + 201 = 381 (100%)
R 135 of 381 ~ 35.43%
G 45 of 381 ~ 11.81%
B 201 of 381 ~ 52.76'%

%35.43
%11.81
%52.76

CMYK color model

#872DC9 color CMYK value is (33,78,0,21).

  • cyan value is 32.84%
  • magenta value is 77.61%
  • yellow value is 0.00%
  • key color value is 21.18%
CMYK: (33,78,0,21) C33M78Y0K21 (33%,78%,0%,21%) (0.33/0.78/0.00/0.21) 

CMYK percentages

%32.84
%77.61
%0
%21.18

Codes

Color #872DC9 in popluar color models

87 2D C9
RGB 135 45 201
HSL 275° 63.41% 48.24%
HSB/HSV 275° 77.61% 78.82%
CMYK 32.84% 77.61% 0.00%
21.18%

Color #872DC9 in popluar number systems.

HEX 87 2D C9
Decimal 135 45 201
Binary 10000111 101101 11001001
Octal 207 55 311

Shades and tints

Shades of #872DC9

#872DC9
(135,45,201)
#7B29B7
(123,41,183)
#6F25A5
(111,37,165)
#632193
(99,33,147)
#571D81
(87,29,129)
#4B196F
(75,25,111)
#3F155D
(63,21,93)
#33114B
(51,17,75)
#270D39
(39,13,57)
#1B0927
(27,9,39)
#0F0515
(15,5,21)
#000000
(0,0,0)

Tints of #872DC9

#872DC9
(135,45,201)
#9140CD
(145,64,205)
#9B53D1
(155,83,209)
#A566D5
(165,102,213)
#AF79D9
(175,121,217)
#B98CDD
(185,140,221)
#C39FE1
(195,159,225)
#CDB2E5
(205,178,229)
#D7C5E9
(215,197,233)
#E1D8ED
(225,216,237)
#EBEBF1
(235,235,241)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #872DC9 color. Also use rgb(135,45,201) instead hex code.

Text Font Color

.myTextColor { color: #872DC9; }

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

This text font color is #872DC9.

Background Color

.myBgColor { background-color: #872DC9; }

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

This div background color is #872DC9.

Border color

.myBorderColor { border: 1px solid #872DC9; }

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

This div border color is #872DC9.

Opacity

.myOpacity80 { color: #872DC9; opacity: 0.8; }

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

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

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

This text has shadow with #872DC9 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #872DC9.

Preview

Color preview on black background

This text has color #872DC9 on black background.


Color preview on white background

This text has color #872DC9 on white background.


Black color preview on #872DC9 background

This text has black color on #872DC9 background.


White color preview on #872DC9 background

This text has white color on #872DC9 background.


Related colors

Complementary color

Complementary color for #hex is #78D236.


I love getcolorcode.com

Triadic colors

1 #C9872D and #2DC987 with #872DC9 are triadic colors.

2 #C92D87 and #2D87C9 with #872DC9 are triadic colors.