COLOR #987CAC

HEX: #987CAC
RGB: (152,124,172)

Color info

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

RGB color model

#987CAC color RGB value is (152,124,172).

  • red value is 152;
  • green value is 124;
  • blue value is 172.
RGB:
(152,124,172)
(60%,49%,67%)

RGB channels and saturation

R 152 of 255 = 60%
G 124 of 255 = 49%
B 172 of 255 = 67%

152
124
172

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

Portions of RGB colors in percentages

R + G + B =
152 + 124 + 172 = 448 (100%)
R 152 of 448 ~ 33.93%
G 124 of 448 ~ 27.68%
B 172 of 448 ~ 38.39%

%33.93
%27.68
%38.39

CMYK color model

#987CAC color CMYK value is (12,28,0,33).

  • cyan value is 11.63%
  • magenta value is 27.91%
  • yellow value is 0.00%
  • key color value is 32.55%
CMYK:
(12,28,0,33)
C12M28Y0K33 
(12%,28%,0%,33%)
(0.12/0.28/0.00/0.33)	

CMYK percentages

%11.63
%27.91
%0
%32.55

Codes

Color #987CAC in popluar color models

987CAC
RGB152124172
HSL275°22.43%58.04%
HSB/HSV275°27.91%67.45%
CMYK11.63%27.91%0.00%
32.55%

Color #987CAC in popluar number systems.

HEX987CAC
Decimal152124172
Binary10011000111110010101100
Octal230174254

Shades and tints

Shades of #987CAC

#987CAC
(152,124,172)
#8B719D
(139,113,157)
#7E668E
(126,102,142)
#715B7F
(113,91,127)
#645070
(100,80,112)
#574561
(87,69,97)
#4A3A52
(74,58,82)
#3D2F43
(61,47,67)
#302434
(48,36,52)
#231925
(35,25,37)
#160E16
(22,14,22)
#000000
(0,0,0)

Tints of #987CAC

#987CAC
(152,124,172)
#A187B3
(161,135,179)
#AA92BA
(170,146,186)
#B39DC1
(179,157,193)
#BCA8C8
(188,168,200)
#C5B3CF
(197,179,207)
#CEBED6
(206,190,214)
#D7C9DD
(215,201,221)
#E0D4E4
(224,212,228)
#E9DFEB
(233,223,235)
#F2EAF2
(242,234,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #987CAC color. Also use rgb(152,124,172) instead hex code.

Text Font Color

.myTextColor { color: #987CAC; }

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

This text font color is #987CAC.


Background Color

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

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

This div background color is #987CAC.


Border color

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

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

This div border color is #987CAC.


Opacity

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

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

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

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

This text has shadow with #987CAC color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #987CAC on black background.


Color preview on white background

This text has color #987CAC on white background.



Black color preview on #987CAC background

This text has black color on #987CAC background.


White color preview on #987CAC background

This text has white color on #987CAC background.