COLOR #987B9B

HEX: #987B9B
RGB: (152,123,155)

Color info

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

RGB color model

#987B9B color RGB value is (152,123,155).

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

RGB channels and saturation

R 152 of 255 = 60%
G 123 of 255 = 48%
B 155 of 255 = 61%

152
123
155

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

Portions of RGB colors in percentages

R + G + B =
152 + 123 + 155 = 430 (100%)
R 152 of 430 ~ 35.35%
G 123 of 430 ~ 28.6%
B 155 of 430 ~ 36.05%

%35.35
%28.6
%36.05

CMYK color model

#987B9B color CMYK value is (2,21,0,39).

  • cyan value is 1.94%
  • magenta value is 20.65%
  • yellow value is 0.00%
  • key color value is 39.22%
CMYK:
(2,21,0,39)
C2M21Y0K39 
(2%,21%,0%,39%)
(0.02/0.21/0.00/0.39)	

CMYK percentages

%1.94
%20.65
%0
%39.22

Codes

Color #987B9B in popluar color models

987B9B
RGB152123155
HSL294°13.79%54.51%
HSB/HSV294°20.65%60.78%
CMYK1.94%20.65%0.00%
39.22%

Color #987B9B in popluar number systems.

HEX987B9B
Decimal152123155
Binary10011000111101110011011
Octal230173233

Shades and tints

Shades of #987B9B

#987B9B
(152,123,155)
#8B708D
(139,112,141)
#7E657F
(126,101,127)
#715A71
(113,90,113)
#644F63
(100,79,99)
#574455
(87,68,85)
#4A3947
(74,57,71)
#3D2E39
(61,46,57)
#30232B
(48,35,43)
#23181D
(35,24,29)
#160D0F
(22,13,15)
#000000
(0,0,0)

Tints of #987B9B

#987B9B
(152,123,155)
#A187A4
(161,135,164)
#AA93AD
(170,147,173)
#B39FB6
(179,159,182)
#BCABBF
(188,171,191)
#C5B7C8
(197,183,200)
#CEC3D1
(206,195,209)
#D7CFDA
(215,207,218)
#E0DBE3
(224,219,227)
#E9E7EC
(233,231,236)
#F2F3F5
(242,243,245)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #987B9B; }

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

This text font color is #987B9B.


Background Color

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

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

This div background color is #987B9B.


Border color

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

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

This div border color is #987B9B.


Opacity

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

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

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

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

This text has shadow with #987B9B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #987B9B on black background.


Color preview on white background

This text has color #987B9B on white background.



Black color preview on #987B9B background

This text has black color on #987B9B background.


White color preview on #987B9B background

This text has white color on #987B9B background.