COLOR #878A5F

HEX: #878A5F
RGB: (135,138,95)

Color info

#878A5F contains red, green and blue colors in about the same proportion. Web safe color of #878A5F is #999966 (or #996).

RGB color model

#878A5F color RGB value is (135,138,95).

  • red value is 135;
  • green value is 138;
  • blue value is 95.
RGB:
(135,138,95)
(53%,54%,37%)

RGB channels and saturation

R 135 of 255 = 53%
G 138 of 255 = 54%
B 95 of 255 = 37%

135
138
95

R + G + B ~ 48%. #878A5F is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
135 + 138 + 95 = 368 (100%)
R 135 of 368 ~ 36.68%
G 138 of 368 ~ 37.5%
B 95 of 368 ~ 25.82%

%36.68
%37.5
%25.82

CMYK color model

#878A5F color CMYK value is (2,0,31,46).

  • cyan value is 2.17%
  • magenta value is 0.00%
  • yellow value is 31.16%
  • key color value is 45.88%
CMYK:
(2,0,31,46)
C2M0Y31K46 
(2%,0%,31%,46%)
(0.02/0.00/0.31/0.46)	

CMYK percentages

%2.17
%0
%31.16
%45.88

Codes

Color #878A5F in popluar color models

878A5F
RGB13513895
HSL64°18.45%45.69%
HSB/HSV64°31.16%54.12%
CMYK2.17%0.00%31.16%
45.88%

Color #878A5F in popluar number systems.

HEX878A5F
Decimal13513895
Binary10000111100010101011111
Octal207212137

Shades and tints

Shades of #878A5F

#878A5F
(135,138,95)
#7B7E57
(123,126,87)
#6F724F
(111,114,79)
#636647
(99,102,71)
#575A3F
(87,90,63)
#4B4E37
(75,78,55)
#3F422F
(63,66,47)
#333627
(51,54,39)
#272A1F
(39,42,31)
#1B1E17
(27,30,23)
#0F120F
(15,18,15)
#000000
(0,0,0)

Tints of #878A5F

#878A5F
(135,138,95)
#91946D
(145,148,109)
#9B9E7B
(155,158,123)
#A5A889
(165,168,137)
#AFB297
(175,178,151)
#B9BCA5
(185,188,165)
#C3C6B3
(195,198,179)
#CDD0C1
(205,208,193)
#D7DACF
(215,218,207)
#E1E4DD
(225,228,221)
#EBEEEB
(235,238,235)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #878A5F color. Also use rgb(135,138,95) instead hex code.

Text Font Color

.myTextColor { color: #878A5F; }

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

This text font color is #878A5F.


Background Color

.myBgColor { background-color: #878A5F; }

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

This div background color is #878A5F.


Border color

.myBorderColor { border: 1px solid #878A5F; }

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

This div border color is #878A5F.


Opacity

.myOpacity80 { color: #878A5F; opacity: 0.8; }

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

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

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

This text has shadow with #878A5F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #878A5F on black background.


Color preview on white background

This text has color #878A5F on white background.



Black color preview on #878A5F background

This text has black color on #878A5F background.


White color preview on #878A5F background

This text has white color on #878A5F background.