COLOR #987F8F

HEX: #987F8F
RGB: (152,127,143)

Color info

#987F8F contains red, green and blue colors in about the same proportion. Web safe color of #987F8F is #996699 (or #969).

RGB color model

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

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

RGB channels and saturation

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

152
127
143

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

Portions of RGB colors in percentages

R + G + B =
152 + 127 + 143 = 422 (100%)
R 152 of 422 ~ 36.02%
G 127 of 422 ~ 30.09%
B 143 of 422 ~ 33.89%

%36.02
%30.09
%33.89

CMYK color model

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

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

CMYK percentages

%0
%16.45
%5.92
%40.39

Codes

Color #987F8F in popluar color models

987F8F
RGB152127143
HSL322°10.82%54.71%
HSB/HSV322°16.45%59.61%
CMYK0.00%16.45%5.92%
40.39%

Color #987F8F in popluar number systems.

HEX987F8F
Decimal152127143
Binary10011000111111110001111
Octal230177217

Shades and tints

Shades of #987F8F

#987F8F
(152,127,143)
#8B7482
(139,116,130)
#7E6975
(126,105,117)
#715E68
(113,94,104)
#64535B
(100,83,91)
#57484E
(87,72,78)
#4A3D41
(74,61,65)
#3D3234
(61,50,52)
#302727
(48,39,39)
#231C1A
(35,28,26)
#16110D
(22,17,13)
#000000
(0,0,0)

Tints of #987F8F

#987F8F
(152,127,143)
#A18A99
(161,138,153)
#AA95A3
(170,149,163)
#B3A0AD
(179,160,173)
#BCABB7
(188,171,183)
#C5B6C1
(197,182,193)
#CEC1CB
(206,193,203)
#D7CCD5
(215,204,213)
#E0D7DF
(224,215,223)
#E9E2E9
(233,226,233)
#F2EDF3
(242,237,243)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #987F8F; }

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

This text font color is #987F8F.


Background Color

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

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

This div background color is #987F8F.


Border color

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

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

This div border color is #987F8F.


Opacity

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

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

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

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

This text has shadow with #987F8F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #987F8F on black background.


Color preview on white background

This text has color #987F8F on white background.



Black color preview on #987F8F background

This text has black color on #987F8F background.


White color preview on #987F8F background

This text has white color on #987F8F background.