COLOR #987B8D

HEX: #987B8D
RGB: (152,123,141)

Color info

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

RGB color model

#987B8D color RGB value is (152,123,141).

  • red value is 152;
  • green value is 123;
  • blue value is 141.
RGB:
(152,123,141)
(60%,48%,55%)

RGB channels and saturation

R 152 of 255 = 60%
G 123 of 255 = 48%
B 141 of 255 = 55%

152
123
141

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

Portions of RGB colors in percentages

R + G + B =
152 + 123 + 141 = 416 (100%)
R 152 of 416 ~ 36.54%
G 123 of 416 ~ 29.57%
B 141 of 416 ~ 33.89%

%36.54
%29.57
%33.89

CMYK color model

#987B8D color CMYK value is (0,19,7,40).

  • cyan value is 0.00%
  • magenta value is 19.08%
  • yellow value is 7.24%
  • key color value is 40.39%
CMYK:
(0,19,7,40)
C0M19Y7K40 
(0%,19%,7%,40%)
(0.00/0.19/0.07/0.40)	

CMYK percentages

%0
%19.08
%7.24
%40.39

Codes

Color #987B8D in popluar color models

987B8D
RGB152123141
HSL323°12.34%53.92%
HSB/HSV323°19.08%59.61%
CMYK0.00%19.08%7.24%
40.39%

Color #987B8D in popluar number systems.

HEX987B8D
Decimal152123141
Binary10011000111101110001101
Octal230173215

Shades and tints

Shades of #987B8D

#987B8D
(152,123,141)
#8B7081
(139,112,129)
#7E6575
(126,101,117)
#715A69
(113,90,105)
#644F5D
(100,79,93)
#574451
(87,68,81)
#4A3945
(74,57,69)
#3D2E39
(61,46,57)
#30232D
(48,35,45)
#231821
(35,24,33)
#160D15
(22,13,21)
#000000
(0,0,0)

Tints of #987B8D

#987B8D
(152,123,141)
#A18797
(161,135,151)
#AA93A1
(170,147,161)
#B39FAB
(179,159,171)
#BCABB5
(188,171,181)
#C5B7BF
(197,183,191)
#CEC3C9
(206,195,201)
#D7CFD3
(215,207,211)
#E0DBDD
(224,219,221)
#E9E7E7
(233,231,231)
#F2F3F1
(242,243,241)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #987B8D color. Also use rgb(152,123,141) instead hex code.

Text Font Color

.myTextColor { color: #987B8D; }

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

This text font color is #987B8D.


Background Color

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

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

This div background color is #987B8D.


Border color

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

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

This div border color is #987B8D.


Opacity

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

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

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

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

This text has shadow with #987B8D color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #987B8D on black background.


Color preview on white background

This text has color #987B8D on white background.



Black color preview on #987B8D background

This text has black color on #987B8D background.


White color preview on #987B8D background

This text has white color on #987B8D background.