COLOR #872A42

HEX: #872A42 RGB: (135,42,66)

Color info

#872A42 contains mainly red color. Web safe color of #872A42 is #993333 (or #933).

RGB color model

#872A42 color RGB value is (135,42,66).

RGB: (135,42,66) (53%, 16%, 26%)

RGB channels and saturation

R 135 of 255 = 53%
G 42 of 255 = 16%
B 66 of 255 = 26%

135
42
66

R + G + B ~ 32%. #872A42 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 135 + 42 + 66 = 243 (100%)
R 135 of 243 ~ 55.56%
G 42 of 243 ~ 17.28%
B 66 of 243 ~ 27.16'%

%55.56
%17.28
%27.16

CMYK color model

#872A42 color CMYK value is (0,69,51,47).

  • cyan value is 0.00%
  • magenta value is 68.89%
  • yellow value is 51.11%
  • key color value is 47.06%
CMYK: (0,69,51,47) C0M69Y51K47 (0%,69%,51%,47%) (0.00/0.69/0.51/0.47) 

CMYK percentages

%0
%68.89
%51.11
%47.06

Codes

Color #872A42 in popluar color models

87 2A 42
RGB 135 42 66
HSL 345° 52.54% 34.71%
HSB/HSV 345° 68.89% 52.94%
CMYK 0.00% 68.89% 51.11%
47.06%

Color #872A42 in popluar number systems.

HEX 87 2A 42
Decimal 135 42 66
Binary 10000111 101010 1000010
Octal 207 52 102

Shades and tints

Shades of #872A42

#872A42
(135,42,66)
#7B273C
(123,39,60)
#6F2436
(111,36,54)
#632130
(99,33,48)
#571E2A
(87,30,42)
#4B1B24
(75,27,36)
#3F181E
(63,24,30)
#331518
(51,21,24)
#271212
(39,18,18)
#1B0F0C
(27,15,12)
#0F0C06
(15,12,6)
#000000
(0,0,0)

Tints of #872A42

#872A42
(135,42,66)
#913D53
(145,61,83)
#9B5064
(155,80,100)
#A56375
(165,99,117)
#AF7686
(175,118,134)
#B98997
(185,137,151)
#C39CA8
(195,156,168)
#CDAFB9
(205,175,185)
#D7C2CA
(215,194,202)
#E1D5DB
(225,213,219)
#EBE8EC
(235,232,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #872A42; }

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

This text font color is #872A42.

Background Color

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

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

This div background color is #872A42.

Border color

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

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

This div border color is #872A42.

Opacity

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

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

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

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

This text has shadow with #872A42 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #872A42.

Preview

Color preview on black background

This text has color #872A42 on black background.


Color preview on white background

This text has color #872A42 on white background.


Black color preview on #872A42 background

This text has black color on #872A42 background.


White color preview on #872A42 background

This text has white color on #872A42 background.


Related colors

Complementary color

Complementary color for #hex is #78D5BD.


I love getcolorcode.com

Triadic colors

1 #42872A and #2A4287 with #872A42 are triadic colors.

2 #422A87 and #2A8742 with #872A42 are triadic colors.