COLOR #987FB4

HEX: #987FB4
RGB: (152,127,180)

Color info

#987FB4 contains red, green and blue colors in about the same proportion. Web safe color of #987FB4 is #9966CC (or #96C).

RGB color model

#987FB4 color RGB value is (152,127,180).

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

RGB channels and saturation

R 152 of 255 = 60%
G 127 of 255 = 50%
B 180 of 255 = 71%

152
127
180

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

Portions of RGB colors in percentages

R + G + B =
152 + 127 + 180 = 459 (100%)
R 152 of 459 ~ 33.12%
G 127 of 459 ~ 27.67%
B 180 of 459 ~ 39.22%

%33.12
%27.67
%39.22

CMYK color model

#987FB4 color CMYK value is (16,29,0,29).

  • cyan value is 15.56%
  • magenta value is 29.44%
  • yellow value is 0.00%
  • key color value is 29.41%
CMYK:
(16,29,0,29)
C16M29Y0K29 
(16%,29%,0%,29%)
(0.16/0.29/0.00/0.29)	

CMYK percentages

%15.56
%29.44
%0
%29.41

Codes

Color #987FB4 in popluar color models

987FB4
RGB152127180
HSL268°26.11%60.20%
HSB/HSV268°29.44%70.59%
CMYK15.56%29.44%0.00%
29.41%

Color #987FB4 in popluar number systems.

HEX987FB4
Decimal152127180
Binary10011000111111110110100
Octal230177264

Shades and tints

Shades of #987FB4

#987FB4
(152,127,180)
#8B74A4
(139,116,164)
#7E6994
(126,105,148)
#715E84
(113,94,132)
#645374
(100,83,116)
#574864
(87,72,100)
#4A3D54
(74,61,84)
#3D3244
(61,50,68)
#302734
(48,39,52)
#231C24
(35,28,36)
#161114
(22,17,20)
#000000
(0,0,0)

Tints of #987FB4

#987FB4
(152,127,180)
#A18ABA
(161,138,186)
#AA95C0
(170,149,192)
#B3A0C6
(179,160,198)
#BCABCC
(188,171,204)
#C5B6D2
(197,182,210)
#CEC1D8
(206,193,216)
#D7CCDE
(215,204,222)
#E0D7E4
(224,215,228)
#E9E2EA
(233,226,234)
#F2EDF0
(242,237,240)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #987FB4; }

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

This text font color is #987FB4.


Background Color

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

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

This div background color is #987FB4.


Border color

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

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

This div border color is #987FB4.


Opacity

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

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

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

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

This text has shadow with #987FB4 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #987FB4 on black background.


Color preview on white background

This text has color #987FB4 on white background.



Black color preview on #987FB4 background

This text has black color on #987FB4 background.


White color preview on #987FB4 background

This text has white color on #987FB4 background.