COLOR #987D7E

HEX: #987D7E
RGB: (152,125,126)

Color info

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

RGB color model

#987D7E color RGB value is (152,125,126).

  • red value is 152;
  • green value is 125;
  • blue value is 126.
RGB:
(152,125,126)
(60%,49%,49%)

RGB channels and saturation

R 152 of 255 = 60%
G 125 of 255 = 49%
B 126 of 255 = 49%

152
125
126

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

Portions of RGB colors in percentages

R + G + B =
152 + 125 + 126 = 403 (100%)
R 152 of 403 ~ 37.72%
G 125 of 403 ~ 31.02%
B 126 of 403 ~ 31.27%

%37.72
%31.02
%31.27

CMYK color model

#987D7E color CMYK value is (0,18,17,40).

  • cyan value is 0.00%
  • magenta value is 17.76%
  • yellow value is 17.11%
  • key color value is 40.39%
CMYK:
(0,18,17,40)
C0M18Y17K40 
(0%,18%,17%,40%)
(0.00/0.18/0.17/0.40)	

CMYK percentages

%0
%17.76
%17.11
%40.39

Codes

Color #987D7E in popluar color models

987D7E
RGB152125126
HSL358°11.59%54.31%
HSB/HSV358°17.76%59.61%
CMYK0.00%17.76%17.11%
40.39%

Color #987D7E in popluar number systems.

HEX987D7E
Decimal152125126
Binary1001100011111011111110
Octal230175176

Shades and tints

Shades of #987D7E

#987D7E
(152,125,126)
#8B7273
(139,114,115)
#7E6768
(126,103,104)
#715C5D
(113,92,93)
#645152
(100,81,82)
#574647
(87,70,71)
#4A3B3C
(74,59,60)
#3D3031
(61,48,49)
#302526
(48,37,38)
#231A1B
(35,26,27)
#160F10
(22,15,16)
#000000
(0,0,0)

Tints of #987D7E

#987D7E
(152,125,126)
#A18889
(161,136,137)
#AA9394
(170,147,148)
#B39E9F
(179,158,159)
#BCA9AA
(188,169,170)
#C5B4B5
(197,180,181)
#CEBFC0
(206,191,192)
#D7CACB
(215,202,203)
#E0D5D6
(224,213,214)
#E9E0E1
(233,224,225)
#F2EBEC
(242,235,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #987D7E; }

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

This text font color is #987D7E.


Background Color

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

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

This div background color is #987D7E.


Border color

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

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

This div border color is #987D7E.


Opacity

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

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

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

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

This text has shadow with #987D7E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #987D7E on black background.


Color preview on white background

This text has color #987D7E on white background.



Black color preview on #987D7E background

This text has black color on #987D7E background.


White color preview on #987D7E background

This text has white color on #987D7E background.