COLOR #987E8E

HEX: #987E8E
RGB: (152,126,142)

Color info

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

RGB color model

#987E8E color RGB value is (152,126,142).

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

RGB channels and saturation

R 152 of 255 = 60%
G 126 of 255 = 49%
B 142 of 255 = 56%

152
126
142

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

Portions of RGB colors in percentages

R + G + B =
152 + 126 + 142 = 420 (100%)
R 152 of 420 ~ 36.19%
G 126 of 420 ~ 30%
B 142 of 420 ~ 33.81%

%36.19
%30
%33.81

CMYK color model

#987E8E color CMYK value is (0,17,7,40).

  • cyan value is 0.00%
  • magenta value is 17.11%
  • yellow value is 6.58%
  • key color value is 40.39%
CMYK:
(0,17,7,40)
C0M17Y7K40 
(0%,17%,7%,40%)
(0.00/0.17/0.07/0.40)	

CMYK percentages

%0
%17.11
%6.58
%40.39

Codes

Color #987E8E in popluar color models

987E8E
RGB152126142
HSL323°11.21%54.51%
HSB/HSV323°17.11%59.61%
CMYK0.00%17.11%6.58%
40.39%

Color #987E8E in popluar number systems.

HEX987E8E
Decimal152126142
Binary10011000111111010001110
Octal230176216

Shades and tints

Shades of #987E8E

#987E8E
(152,126,142)
#8B7382
(139,115,130)
#7E6876
(126,104,118)
#715D6A
(113,93,106)
#64525E
(100,82,94)
#574752
(87,71,82)
#4A3C46
(74,60,70)
#3D313A
(61,49,58)
#30262E
(48,38,46)
#231B22
(35,27,34)
#161016
(22,16,22)
#000000
(0,0,0)

Tints of #987E8E

#987E8E
(152,126,142)
#A18998
(161,137,152)
#AA94A2
(170,148,162)
#B39FAC
(179,159,172)
#BCAAB6
(188,170,182)
#C5B5C0
(197,181,192)
#CEC0CA
(206,192,202)
#D7CBD4
(215,203,212)
#E0D6DE
(224,214,222)
#E9E1E8
(233,225,232)
#F2ECF2
(242,236,242)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #987E8E; }

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

This text font color is #987E8E.


Background Color

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

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

This div background color is #987E8E.


Border color

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

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

This div border color is #987E8E.


Opacity

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

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

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

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

This text has shadow with #987E8E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #987E8E on black background.


Color preview on white background

This text has color #987E8E on white background.



Black color preview on #987E8E background

This text has black color on #987E8E background.


White color preview on #987E8E background

This text has white color on #987E8E background.