COLOR #987BAA

HEX: #987BAA
RGB: (152,123,170)

Color info

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

RGB color model

#987BAA color RGB value is (152,123,170).

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

RGB channels and saturation

R 152 of 255 = 60%
G 123 of 255 = 48%
B 170 of 255 = 67%

152
123
170

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

Portions of RGB colors in percentages

R + G + B =
152 + 123 + 170 = 445 (100%)
R 152 of 445 ~ 34.16%
G 123 of 445 ~ 27.64%
B 170 of 445 ~ 38.2%

%34.16
%27.64
%38.2

CMYK color model

#987BAA color CMYK value is (11,28,0,33).

  • cyan value is 10.59%
  • magenta value is 27.65%
  • yellow value is 0.00%
  • key color value is 33.33%
CMYK:
(11,28,0,33)
C11M28Y0K33 
(11%,28%,0%,33%)
(0.11/0.28/0.00/0.33)	

CMYK percentages

%10.59
%27.65
%0
%33.33

Codes

Color #987BAA in popluar color models

987BAA
RGB152123170
HSL277°21.66%57.45%
HSB/HSV277°27.65%66.67%
CMYK10.59%27.65%0.00%
33.33%

Color #987BAA in popluar number systems.

HEX987BAA
Decimal152123170
Binary10011000111101110101010
Octal230173252

Shades and tints

Shades of #987BAA

#987BAA
(152,123,170)
#8B709B
(139,112,155)
#7E658C
(126,101,140)
#715A7D
(113,90,125)
#644F6E
(100,79,110)
#57445F
(87,68,95)
#4A3950
(74,57,80)
#3D2E41
(61,46,65)
#302332
(48,35,50)
#231823
(35,24,35)
#160D14
(22,13,20)
#000000
(0,0,0)

Tints of #987BAA

#987BAA
(152,123,170)
#A187B1
(161,135,177)
#AA93B8
(170,147,184)
#B39FBF
(179,159,191)
#BCABC6
(188,171,198)
#C5B7CD
(197,183,205)
#CEC3D4
(206,195,212)
#D7CFDB
(215,207,219)
#E0DBE2
(224,219,226)
#E9E7E9
(233,231,233)
#F2F3F0
(242,243,240)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #987BAA; }

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

This text font color is #987BAA.


Background Color

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

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

This div background color is #987BAA.


Border color

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

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

This div border color is #987BAA.


Opacity

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

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

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

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

This text has shadow with #987BAA color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #987BAA on black background.


Color preview on white background

This text has color #987BAA on white background.



Black color preview on #987BAA background

This text has black color on #987BAA background.


White color preview on #987BAA background

This text has white color on #987BAA background.