COLOR #987FAF

HEX: #987FAF
RGB: (152,127,175)

Color info

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

RGB color model

#987FAF color RGB value is (152,127,175).

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

RGB channels and saturation

R 152 of 255 = 60%
G 127 of 255 = 50%
B 175 of 255 = 69%

152
127
175

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

Portions of RGB colors in percentages

R + G + B =
152 + 127 + 175 = 454 (100%)
R 152 of 454 ~ 33.48%
G 127 of 454 ~ 27.97%
B 175 of 454 ~ 38.55%

%33.48
%27.97
%38.55

CMYK color model

#987FAF color CMYK value is (13,27,0,31).

  • cyan value is 13.14%
  • magenta value is 27.43%
  • yellow value is 0.00%
  • key color value is 31.37%
CMYK:
(13,27,0,31)
C13M27Y0K31 
(13%,27%,0%,31%)
(0.13/0.27/0.00/0.31)	

CMYK percentages

%13.14
%27.43
%0
%31.37

Codes

Color #987FAF in popluar color models

987FAF
RGB152127175
HSL271°23.08%59.22%
HSB/HSV271°27.43%68.63%
CMYK13.14%27.43%0.00%
31.37%

Color #987FAF in popluar number systems.

HEX987FAF
Decimal152127175
Binary10011000111111110101111
Octal230177257

Shades and tints

Shades of #987FAF

#987FAF
(152,127,175)
#8B74A0
(139,116,160)
#7E6991
(126,105,145)
#715E82
(113,94,130)
#645373
(100,83,115)
#574864
(87,72,100)
#4A3D55
(74,61,85)
#3D3246
(61,50,70)
#302737
(48,39,55)
#231C28
(35,28,40)
#161119
(22,17,25)
#000000
(0,0,0)

Tints of #987FAF

#987FAF
(152,127,175)
#A18AB6
(161,138,182)
#AA95BD
(170,149,189)
#B3A0C4
(179,160,196)
#BCABCB
(188,171,203)
#C5B6D2
(197,182,210)
#CEC1D9
(206,193,217)
#D7CCE0
(215,204,224)
#E0D7E7
(224,215,231)
#E9E2EE
(233,226,238)
#F2EDF5
(242,237,245)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #987FAF; }

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

This text font color is #987FAF.


Background Color

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

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

This div background color is #987FAF.


Border color

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

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

This div border color is #987FAF.


Opacity

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

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

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

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

This text has shadow with #987FAF color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #987FAF on black background.


Color preview on white background

This text has color #987FAF on white background.



Black color preview on #987FAF background

This text has black color on #987FAF background.


White color preview on #987FAF background

This text has white color on #987FAF background.