COLOR #987C8B

HEX: #987C8B
RGB: (152,124,139)

Color info

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

RGB color model

#987C8B color RGB value is (152,124,139).

  • red value is 152;
  • green value is 124;
  • blue value is 139.
RGB:
(152,124,139)
(60%,49%,55%)

RGB channels and saturation

R 152 of 255 = 60%
G 124 of 255 = 49%
B 139 of 255 = 55%

152
124
139

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

Portions of RGB colors in percentages

R + G + B =
152 + 124 + 139 = 415 (100%)
R 152 of 415 ~ 36.63%
G 124 of 415 ~ 29.88%
B 139 of 415 ~ 33.49%

%36.63
%29.88
%33.49

CMYK color model

#987C8B color CMYK value is (0,18,9,40).

  • cyan value is 0.00%
  • magenta value is 18.42%
  • yellow value is 8.55%
  • key color value is 40.39%
CMYK:
(0,18,9,40)
C0M18Y9K40 
(0%,18%,9%,40%)
(0.00/0.18/0.09/0.40)	

CMYK percentages

%0
%18.42
%8.55
%40.39

Codes

Color #987C8B in popluar color models

987C8B
RGB152124139
HSL328°11.97%54.12%
HSB/HSV328°18.42%59.61%
CMYK0.00%18.42%8.55%
40.39%

Color #987C8B in popluar number systems.

HEX987C8B
Decimal152124139
Binary10011000111110010001011
Octal230174213

Shades and tints

Shades of #987C8B

#987C8B
(152,124,139)
#8B717F
(139,113,127)
#7E6673
(126,102,115)
#715B67
(113,91,103)
#64505B
(100,80,91)
#57454F
(87,69,79)
#4A3A43
(74,58,67)
#3D2F37
(61,47,55)
#30242B
(48,36,43)
#23191F
(35,25,31)
#160E13
(22,14,19)
#000000
(0,0,0)

Tints of #987C8B

#987C8B
(152,124,139)
#A18795
(161,135,149)
#AA929F
(170,146,159)
#B39DA9
(179,157,169)
#BCA8B3
(188,168,179)
#C5B3BD
(197,179,189)
#CEBEC7
(206,190,199)
#D7C9D1
(215,201,209)
#E0D4DB
(224,212,219)
#E9DFE5
(233,223,229)
#F2EAEF
(242,234,239)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #987C8B; }

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

This text font color is #987C8B.


Background Color

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

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

This div background color is #987C8B.


Border color

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

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

This div border color is #987C8B.


Opacity

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

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

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

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

This text has shadow with #987C8B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #987C8B on black background.


Color preview on white background

This text has color #987C8B on white background.



Black color preview on #987C8B background

This text has black color on #987C8B background.


White color preview on #987C8B background

This text has white color on #987C8B background.