COLOR #870C2F

HEX: #870C2F
RGB: (135,12,47)

Color info

#870C2F contains mainly red color. Web safe color of #870C2F is #990033 (or #903).

RGB color model

#870C2F color RGB value is (135,12,47).

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

RGB channels and saturation

R 135 of 255 = 53%
G 12 of 255 = 5%
B 47 of 255 = 18%

135
12
47

R + G + B ~ 25%. #870C2F is quite dark color.

Portions of RGB colors in percentages

R + G + B =
135 + 12 + 47 = 194 (100%)
R 135 of 194 ~ 69.59%
G 12 of 194 ~ 6.19%
B 47 of 194 ~ 24.23%

%69.59
%24.23

CMYK color model

#870C2F color CMYK value is (0,91,65,47).

  • cyan value is 0.00%
  • magenta value is 91.11%
  • yellow value is 65.19%
  • key color value is 47.06%
CMYK:
(0,91,65,47)
C0M91Y65K47 
(0%,91%,65%,47%)
(0.00/0.91/0.65/0.47)	

CMYK percentages

%0
%91.11
%65.19
%47.06

Codes

Color #870C2F in popluar color models

870C2F
RGB1351247
HSL343°83.67%28.82%
HSB/HSV343°91.11%52.94%
CMYK0.00%91.11%65.19%
47.06%

Color #870C2F in popluar number systems.

HEX870C2F
Decimal1351247
Binary100001111100101111
Octal2071457

Shades and tints

Shades of #870C2F

#870C2F
(135,12,47)
#7B0B2B
(123,11,43)
#6F0A27
(111,10,39)
#630923
(99,9,35)
#57081F
(87,8,31)
#4B071B
(75,7,27)
#3F0617
(63,6,23)
#330513
(51,5,19)
#27040F
(39,4,15)
#1B030B
(27,3,11)
#0F0207
(15,2,7)
#000000
(0,0,0)

Tints of #870C2F

#870C2F
(135,12,47)
#912241
(145,34,65)
#9B3853
(155,56,83)
#A54E65
(165,78,101)
#AF6477
(175,100,119)
#B97A89
(185,122,137)
#C3909B
(195,144,155)
#CDA6AD
(205,166,173)
#D7BCBF
(215,188,191)
#E1D2D1
(225,210,209)
#EBE8E3
(235,232,227)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #870C2F; }

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

This text font color is #870C2F.


Background Color

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

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

This div background color is #870C2F.


Border color

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

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

This div border color is #870C2F.


Opacity

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

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

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

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

This text has shadow with #870C2F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #870C2F on black background.


Color preview on white background

This text has color #870C2F on white background.



Black color preview on #870C2F background

This text has black color on #870C2F background.


White color preview on #870C2F background

This text has white color on #870C2F background.