COLOR #987FAA

HEX: #987FAA
RGB: (152,127,170)

Color info

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

RGB color model

#987FAA color RGB value is (152,127,170).

  • red value is 152;
  • green value is 127;
  • blue value is 170.
RGB:
(152,127,170)
(60%,50%,67%)

RGB channels and saturation

R 152 of 255 = 60%
G 127 of 255 = 50%
B 170 of 255 = 67%

152
127
170

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

Portions of RGB colors in percentages

R + G + B =
152 + 127 + 170 = 449 (100%)
R 152 of 449 ~ 33.85%
G 127 of 449 ~ 28.29%
B 170 of 449 ~ 37.86%

%33.85
%28.29
%37.86

CMYK color model

#987FAA color CMYK value is (11,25,0,33).

  • cyan value is 10.59%
  • magenta value is 25.29%
  • yellow value is 0.00%
  • key color value is 33.33%
CMYK:
(11,25,0,33)
C11M25Y0K33 
(11%,25%,0%,33%)
(0.11/0.25/0.00/0.33)	

CMYK percentages

%10.59
%25.29
%0
%33.33

Codes

Color #987FAA in popluar color models

987FAA
RGB152127170
HSL275°20.19%58.24%
HSB/HSV275°25.29%66.67%
CMYK10.59%25.29%0.00%
33.33%

Color #987FAA in popluar number systems.

HEX987FAA
Decimal152127170
Binary10011000111111110101010
Octal230177252

Shades and tints

Shades of #987FAA

#987FAA
(152,127,170)
#8B749B
(139,116,155)
#7E698C
(126,105,140)
#715E7D
(113,94,125)
#64536E
(100,83,110)
#57485F
(87,72,95)
#4A3D50
(74,61,80)
#3D3241
(61,50,65)
#302732
(48,39,50)
#231C23
(35,28,35)
#161114
(22,17,20)
#000000
(0,0,0)

Tints of #987FAA

#987FAA
(152,127,170)
#A18AB1
(161,138,177)
#AA95B8
(170,149,184)
#B3A0BF
(179,160,191)
#BCABC6
(188,171,198)
#C5B6CD
(197,182,205)
#CEC1D4
(206,193,212)
#D7CCDB
(215,204,219)
#E0D7E2
(224,215,226)
#E9E2E9
(233,226,233)
#F2EDF0
(242,237,240)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #987FAA color. Also use rgb(152,127,170) instead hex code.

Text Font Color

.myTextColor { color: #987FAA; }

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

This text font color is #987FAA.


Background Color

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

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

This div background color is #987FAA.


Border color

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

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

This div border color is #987FAA.


Opacity

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

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

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

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

This text has shadow with #987FAA color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #987FAA on black background.


Color preview on white background

This text has color #987FAA on white background.



Black color preview on #987FAA background

This text has black color on #987FAA background.


White color preview on #987FAA background

This text has white color on #987FAA background.