COLOR #871842

HEX: #871842
RGB: (135,24,66)

Color info

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

RGB color model

#871842 color RGB value is (135,24,66).

  • red value is 135;
  • green value is 24;
  • blue value is 66.
RGB:
(135,24,66)
(53%,9%,26%)

RGB channels and saturation

R 135 of 255 = 53%
G 24 of 255 = 9%
B 66 of 255 = 26%

135
24
66

R + G + B ~ 29%. #871842 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
135 + 24 + 66 = 225 (100%)
R 135 of 225 ~ 60%
G 24 of 225 ~ 10.67%
B 66 of 225 ~ 29.33%

%60
%10.67
%29.33

CMYK color model

#871842 color CMYK value is (0,82,51,47).

  • cyan value is 0.00%
  • magenta value is 82.22%
  • yellow value is 51.11%
  • key color value is 47.06%
CMYK:
(0,82,51,47)
C0M82Y51K47 
(0%,82%,51%,47%)
(0.00/0.82/0.51/0.47)	

CMYK percentages

%0
%82.22
%51.11
%47.06

Codes

Color #871842 in popluar color models

871842
RGB1352466
HSL337°69.81%31.18%
HSB/HSV337°82.22%52.94%
CMYK0.00%82.22%51.11%
47.06%

Color #871842 in popluar number systems.

HEX871842
Decimal1352466
Binary10000111110001000010
Octal20730102

Shades and tints

Shades of #871842

#871842
(135,24,66)
#7B163C
(123,22,60)
#6F1436
(111,20,54)
#631230
(99,18,48)
#57102A
(87,16,42)
#4B0E24
(75,14,36)
#3F0C1E
(63,12,30)
#330A18
(51,10,24)
#270812
(39,8,18)
#1B060C
(27,6,12)
#0F0406
(15,4,6)
#000000
(0,0,0)

Tints of #871842

#871842
(135,24,66)
#912D53
(145,45,83)
#9B4264
(155,66,100)
#A55775
(165,87,117)
#AF6C86
(175,108,134)
#B98197
(185,129,151)
#C396A8
(195,150,168)
#CDABB9
(205,171,185)
#D7C0CA
(215,192,202)
#E1D5DB
(225,213,219)
#EBEAEC
(235,234,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #871842 color. Also use rgb(135,24,66) instead hex code.

Text Font Color

.myTextColor { color: #871842; }

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

This text font color is #871842.


Background Color

.myBgColor { background-color: #871842; }

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

This div background color is #871842.


Border color

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

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

This div border color is #871842.


Opacity

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

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

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

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

This text has shadow with #871842 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #871842 on black background.


Color preview on white background

This text has color #871842 on white background.



Black color preview on #871842 background

This text has black color on #871842 background.


White color preview on #871842 background

This text has white color on #871842 background.