COLOR #870C02

HEX: #870C02
RGB: (135,12,2)

Color info

#870C02 contains mainly red color. Web safe color of #870C02 is #990000 (or #900).

RGB color model

#870C02 color RGB value is (135,12,2).

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

RGB channels and saturation

R 135 of 255 = 53%
G 12 of 255 = 5%
B 2 of 255 = 1%

135
12
2

R + G + B ~ 20%. #870C02 is dark color.

Portions of RGB colors in percentages

R + G + B =
135 + 12 + 2 = 149 (100%)
R 135 of 149 ~ 90.6%
G 12 of 149 ~ 8.05%
B 2 of 149 ~ 1.34%

%90.6

CMYK color model

#870C02 color CMYK value is (0,91,99,47).

  • cyan value is 0.00%
  • magenta value is 91.11%
  • yellow value is 98.52%
  • key color value is 47.06%
CMYK:
(0,91,99,47)
C0M91Y99K47 
(0%,91%,99%,47%)
(0.00/0.91/0.99/0.47)	

CMYK percentages

%0
%91.11
%98.52
%47.06

Codes

Color #870C02 in popluar color models

870C02
RGB135122
HSL97.08%26.86%
HSB/HSV98.52%52.94%
CMYK0.00%91.11%98.52%
47.06%

Color #870C02 in popluar number systems.

HEX870C02
Decimal135122
Binary10000111110010
Octal207142

Shades and tints

Shades of #870C02

#870C02
(135,12,2)
#7B0B02
(123,11,2)
#6F0A02
(111,10,2)
#630902
(99,9,2)
#570802
(87,8,2)
#4B0702
(75,7,2)
#3F0602
(63,6,2)
#330502
(51,5,2)
#270402
(39,4,2)
#1B0302
(27,3,2)
#0F0202
(15,2,2)
#000000
(0,0,0)

Tints of #870C02

#870C02
(135,12,2)
#912219
(145,34,25)
#9B3830
(155,56,48)
#A54E47
(165,78,71)
#AF645E
(175,100,94)
#B97A75
(185,122,117)
#C3908C
(195,144,140)
#CDA6A3
(205,166,163)
#D7BCBA
(215,188,186)
#E1D2D1
(225,210,209)
#EBE8E8
(235,232,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #870C02; }

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

This text font color is #870C02.


Background Color

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

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

This div background color is #870C02.


Border color

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

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

This div border color is #870C02.


Opacity

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

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

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

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

This text has shadow with #870C02 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #870C02 on black background.


Color preview on white background

This text has color #870C02 on white background.



Black color preview on #870C02 background

This text has black color on #870C02 background.


White color preview on #870C02 background

This text has white color on #870C02 background.