COLOR #987F7F

HEX: #987F7F
RGB: (152,127,127)

Color info

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

RGB color model

#987F7F color RGB value is (152,127,127).

  • red value is 152;
  • green value is 127;
  • blue value is 127.
RGB:
(152,127,127)
(60%,50%,50%)

RGB channels and saturation

R 152 of 255 = 60%
G 127 of 255 = 50%
B 127 of 255 = 50%

152
127
127

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

Portions of RGB colors in percentages

R + G + B =
152 + 127 + 127 = 406 (100%)
R 152 of 406 ~ 37.44%
G 127 of 406 ~ 31.28%
B 127 of 406 ~ 31.28%

%37.44
%31.28
%31.28

CMYK color model

#987F7F color CMYK value is (0,16,16,40).

  • cyan value is 0.00%
  • magenta value is 16.45%
  • yellow value is 16.45%
  • key color value is 40.39%
CMYK:
(0,16,16,40)
C0M16Y16K40 
(0%,16%,16%,40%)
(0.00/0.16/0.16/0.40)	

CMYK percentages

%0
%16.45
%16.45
%40.39

Codes

Color #987F7F in popluar color models

987F7F
RGB152127127
HSL10.82%54.71%
HSB/HSV16.45%59.61%
CMYK0.00%16.45%16.45%
40.39%

Color #987F7F in popluar number systems.

HEX987F7F
Decimal152127127
Binary1001100011111111111111
Octal230177177

Shades and tints

Shades of #987F7F

#987F7F
(152,127,127)
#8B7474
(139,116,116)
#7E6969
(126,105,105)
#715E5E
(113,94,94)
#645353
(100,83,83)
#574848
(87,72,72)
#4A3D3D
(74,61,61)
#3D3232
(61,50,50)
#302727
(48,39,39)
#231C1C
(35,28,28)
#161111
(22,17,17)
#000000
(0,0,0)

Tints of #987F7F

#987F7F
(152,127,127)
#A18A8A
(161,138,138)
#AA9595
(170,149,149)
#B3A0A0
(179,160,160)
#BCABAB
(188,171,171)
#C5B6B6
(197,182,182)
#CEC1C1
(206,193,193)
#D7CCCC
(215,204,204)
#E0D7D7
(224,215,215)
#E9E2E2
(233,226,226)
#F2EDED
(242,237,237)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #987F7F; }

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

This text font color is #987F7F.


Background Color

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

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

This div background color is #987F7F.


Border color

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

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

This div border color is #987F7F.


Opacity

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

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

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

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

This text has shadow with #987F7F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #987F7F on black background.


Color preview on white background

This text has color #987F7F on white background.



Black color preview on #987F7F background

This text has black color on #987F7F background.


White color preview on #987F7F background

This text has white color on #987F7F background.