COLOR #987B5F

HEX: #987B5F
RGB: (152,123,95)

Color info

#987B5F contains red, green and blue colors in about the same proportion. Web safe color of #987B5F is #996666 (or #966).

RGB color model

#987B5F color RGB value is (152,123,95).

  • red value is 152;
  • green value is 123;
  • blue value is 95.
RGB:
(152,123,95)
(60%,48%,37%)

RGB channels and saturation

R 152 of 255 = 60%
G 123 of 255 = 48%
B 95 of 255 = 37%

152
123
95

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

Portions of RGB colors in percentages

R + G + B =
152 + 123 + 95 = 370 (100%)
R 152 of 370 ~ 41.08%
G 123 of 370 ~ 33.24%
B 95 of 370 ~ 25.68%

%41.08
%33.24
%25.68

CMYK color model

#987B5F color CMYK value is (0,19,38,40).

  • cyan value is 0.00%
  • magenta value is 19.08%
  • yellow value is 37.50%
  • key color value is 40.39%
CMYK:
(0,19,38,40)
C0M19Y38K40 
(0%,19%,38%,40%)
(0.00/0.19/0.38/0.40)	

CMYK percentages

%0
%19.08
%37.5
%40.39

Codes

Color #987B5F in popluar color models

987B5F
RGB15212395
HSL29°23.08%48.43%
HSB/HSV29°37.50%59.61%
CMYK0.00%19.08%37.50%
40.39%

Color #987B5F in popluar number systems.

HEX987B5F
Decimal15212395
Binary1001100011110111011111
Octal230173137

Shades and tints

Shades of #987B5F

#987B5F
(152,123,95)
#8B7057
(139,112,87)
#7E654F
(126,101,79)
#715A47
(113,90,71)
#644F3F
(100,79,63)
#574437
(87,68,55)
#4A392F
(74,57,47)
#3D2E27
(61,46,39)
#30231F
(48,35,31)
#231817
(35,24,23)
#160D0F
(22,13,15)
#000000
(0,0,0)

Tints of #987B5F

#987B5F
(152,123,95)
#A1876D
(161,135,109)
#AA937B
(170,147,123)
#B39F89
(179,159,137)
#BCAB97
(188,171,151)
#C5B7A5
(197,183,165)
#CEC3B3
(206,195,179)
#D7CFC1
(215,207,193)
#E0DBCF
(224,219,207)
#E9E7DD
(233,231,221)
#F2F3EB
(242,243,235)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #987B5F color. Also use rgb(152,123,95) instead hex code.

Text Font Color

.myTextColor { color: #987B5F; }

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

This text font color is #987B5F.


Background Color

.myBgColor { background-color: #987B5F; }

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

This div background color is #987B5F.


Border color

.myBorderColor { border: 1px solid #987B5F; }

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

This div border color is #987B5F.


Opacity

.myOpacity80 { color: #987B5F; opacity: 0.8; }

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

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

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

This text has shadow with #987B5F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #987B5F on black background.


Color preview on white background

This text has color #987B5F on white background.



Black color preview on #987B5F background

This text has black color on #987B5F background.


White color preview on #987B5F background

This text has white color on #987B5F background.