COLOR #870CB6

HEX: #870CB6
RGB: (135,12,182)

Color info

#870CB6 contains mainly red and blue colors. Web safe color of #870CB6 is #9900CC (or #90C).

RGB color model

#870CB6 color RGB value is (135,12,182).

  • red value is 135;
  • green value is 12;
  • blue value is 182.
RGB:
(135,12,182)
(53%,5%,71%)

RGB channels and saturation

R 135 of 255 = 53%
G 12 of 255 = 5%
B 182 of 255 = 71%

135
12
182

R + G + B ~ 43%. #870CB6 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
135 + 12 + 182 = 329 (100%)
R 135 of 329 ~ 41.03%
G 12 of 329 ~ 3.65%
B 182 of 329 ~ 55.32%

%41.03
%55.32

CMYK color model

#870CB6 color CMYK value is (26,93,0,29).

  • cyan value is 25.82%
  • magenta value is 93.41%
  • yellow value is 0.00%
  • key color value is 28.63%
CMYK:
(26,93,0,29)
C26M93Y0K29 
(26%,93%,0%,29%)
(0.26/0.93/0.00/0.29)	

CMYK percentages

%25.82
%93.41
%0
%28.63

Codes

Color #870CB6 in popluar color models

870CB6
RGB13512182
HSL283°87.63%38.04%
HSB/HSV283°93.41%71.37%
CMYK25.82%93.41%0.00%
28.63%

Color #870CB6 in popluar number systems.

HEX870CB6
Decimal13512182
Binary10000111110010110110
Octal20714266

Shades and tints

Shades of #870CB6

#870CB6
(135,12,182)
#7B0BA6
(123,11,166)
#6F0A96
(111,10,150)
#630986
(99,9,134)
#570876
(87,8,118)
#4B0766
(75,7,102)
#3F0656
(63,6,86)
#330546
(51,5,70)
#270436
(39,4,54)
#1B0326
(27,3,38)
#0F0216
(15,2,22)
#000000
(0,0,0)

Tints of #870CB6

#870CB6
(135,12,182)
#9122BC
(145,34,188)
#9B38C2
(155,56,194)
#A54EC8
(165,78,200)
#AF64CE
(175,100,206)
#B97AD4
(185,122,212)
#C390DA
(195,144,218)
#CDA6E0
(205,166,224)
#D7BCE6
(215,188,230)
#E1D2EC
(225,210,236)
#EBE8F2
(235,232,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #870CB6 color. Also use rgb(135,12,182) instead hex code.

Text Font Color

.myTextColor { color: #870CB6; }

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

This text font color is #870CB6.


Background Color

.myBgColor { background-color: #870CB6; }

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

This div background color is #870CB6.


Border color

.myBorderColor { border: 1px solid #870CB6; }

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

This div border color is #870CB6.


Opacity

.myOpacity80 { color: #870CB6; opacity: 0.8; }

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

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

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

This text has shadow with #870CB6 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #870CB6 on black background.


Color preview on white background

This text has color #870CB6 on white background.



Black color preview on #870CB6 background

This text has black color on #870CB6 background.


White color preview on #870CB6 background

This text has white color on #870CB6 background.