COLOR #987A7C

HEX: #987A7C
RGB: (152,122,124)

Color info

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

RGB color model

#987A7C color RGB value is (152,122,124).

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

RGB channels and saturation

R 152 of 255 = 60%
G 122 of 255 = 48%
B 124 of 255 = 49%

152
122
124

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

Portions of RGB colors in percentages

R + G + B =
152 + 122 + 124 = 398 (100%)
R 152 of 398 ~ 38.19%
G 122 of 398 ~ 30.65%
B 124 of 398 ~ 31.16%

%38.19
%30.65
%31.16

CMYK color model

#987A7C color CMYK value is (0,20,18,40).

  • cyan value is 0.00%
  • magenta value is 19.74%
  • yellow value is 18.42%
  • key color value is 40.39%
CMYK:
(0,20,18,40)
C0M20Y18K40 
(0%,20%,18%,40%)
(0.00/0.20/0.18/0.40)	

CMYK percentages

%0
%19.74
%18.42
%40.39

Codes

Color #987A7C in popluar color models

987A7C
RGB152122124
HSL356°12.71%53.73%
HSB/HSV356°19.74%59.61%
CMYK0.00%19.74%18.42%
40.39%

Color #987A7C in popluar number systems.

HEX987A7C
Decimal152122124
Binary1001100011110101111100
Octal230172174

Shades and tints

Shades of #987A7C

#987A7C
(152,122,124)
#8B6F71
(139,111,113)
#7E6466
(126,100,102)
#71595B
(113,89,91)
#644E50
(100,78,80)
#574345
(87,67,69)
#4A383A
(74,56,58)
#3D2D2F
(61,45,47)
#302224
(48,34,36)
#231719
(35,23,25)
#160C0E
(22,12,14)
#000000
(0,0,0)

Tints of #987A7C

#987A7C
(152,122,124)
#A18687
(161,134,135)
#AA9292
(170,146,146)
#B39E9D
(179,158,157)
#BCAAA8
(188,170,168)
#C5B6B3
(197,182,179)
#CEC2BE
(206,194,190)
#D7CEC9
(215,206,201)
#E0DAD4
(224,218,212)
#E9E6DF
(233,230,223)
#F2F2EA
(242,242,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #987A7C; }

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

This text font color is #987A7C.


Background Color

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

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

This div background color is #987A7C.


Border color

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

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

This div border color is #987A7C.


Opacity

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

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

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

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

This text has shadow with #987A7C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #987A7C on black background.


Color preview on white background

This text has color #987A7C on white background.



Black color preview on #987A7C background

This text has black color on #987A7C background.


White color preview on #987A7C background

This text has white color on #987A7C background.