COLOR #987A9A

HEX: #987A9A
RGB: (152,122,154)

Color info

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

RGB color model

#987A9A color RGB value is (152,122,154).

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

RGB channels and saturation

R 152 of 255 = 60%
G 122 of 255 = 48%
B 154 of 255 = 60%

152
122
154

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

Portions of RGB colors in percentages

R + G + B =
152 + 122 + 154 = 428 (100%)
R 152 of 428 ~ 35.51%
G 122 of 428 ~ 28.5%
B 154 of 428 ~ 35.98%

%35.51
%28.5
%35.98

CMYK color model

#987A9A color CMYK value is (1,21,0,40).

  • cyan value is 1.30%
  • magenta value is 20.78%
  • yellow value is 0.00%
  • key color value is 39.61%
CMYK:
(1,21,0,40)
C1M21Y0K40 
(1%,21%,0%,40%)
(0.01/0.21/0.00/0.40)	

CMYK percentages

%1.3
%20.78
%0
%39.61

Codes

Color #987A9A in popluar color models

987A9A
RGB152122154
HSL296°13.68%54.12%
HSB/HSV296°20.78%60.39%
CMYK1.30%20.78%0.00%
39.61%

Color #987A9A in popluar number systems.

HEX987A9A
Decimal152122154
Binary10011000111101010011010
Octal230172232

Shades and tints

Shades of #987A9A

#987A9A
(152,122,154)
#8B6F8C
(139,111,140)
#7E647E
(126,100,126)
#715970
(113,89,112)
#644E62
(100,78,98)
#574354
(87,67,84)
#4A3846
(74,56,70)
#3D2D38
(61,45,56)
#30222A
(48,34,42)
#23171C
(35,23,28)
#160C0E
(22,12,14)
#000000
(0,0,0)

Tints of #987A9A

#987A9A
(152,122,154)
#A186A3
(161,134,163)
#AA92AC
(170,146,172)
#B39EB5
(179,158,181)
#BCAABE
(188,170,190)
#C5B6C7
(197,182,199)
#CEC2D0
(206,194,208)
#D7CED9
(215,206,217)
#E0DAE2
(224,218,226)
#E9E6EB
(233,230,235)
#F2F2F4
(242,242,244)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #987A9A; }

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

This text font color is #987A9A.


Background Color

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

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

This div background color is #987A9A.


Border color

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

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

This div border color is #987A9A.


Opacity

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

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

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

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

This text has shadow with #987A9A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #987A9A on black background.


Color preview on white background

This text has color #987A9A on white background.



Black color preview on #987A9A background

This text has black color on #987A9A background.


White color preview on #987A9A background

This text has white color on #987A9A background.