COLOR #987EB6

HEX: #987EB6
RGB: (152,126,182)

Color info

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

RGB color model

#987EB6 color RGB value is (152,126,182).

  • red value is 152;
  • green value is 126;
  • blue value is 182.
RGB:
(152,126,182)
(60%,49%,71%)

RGB channels and saturation

R 152 of 255 = 60%
G 126 of 255 = 49%
B 182 of 255 = 71%

152
126
182

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

Portions of RGB colors in percentages

R + G + B =
152 + 126 + 182 = 460 (100%)
R 152 of 460 ~ 33.04%
G 126 of 460 ~ 27.39%
B 182 of 460 ~ 39.57%

%33.04
%27.39
%39.57

CMYK color model

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

  • cyan value is 16.48%
  • magenta value is 30.77%
  • yellow value is 0.00%
  • key color value is 28.63%
CMYK:
(16,31,0,29)
C16M31Y0K29 
(16%,31%,0%,29%)
(0.16/0.31/0.00/0.29)	

CMYK percentages

%16.48
%30.77
%0
%28.63

Codes

Color #987EB6 in popluar color models

987EB6
RGB152126182
HSL268°27.72%60.39%
HSB/HSV268°30.77%71.37%
CMYK16.48%30.77%0.00%
28.63%

Color #987EB6 in popluar number systems.

HEX987EB6
Decimal152126182
Binary10011000111111010110110
Octal230176266

Shades and tints

Shades of #987EB6

#987EB6
(152,126,182)
#8B73A6
(139,115,166)
#7E6896
(126,104,150)
#715D86
(113,93,134)
#645276
(100,82,118)
#574766
(87,71,102)
#4A3C56
(74,60,86)
#3D3146
(61,49,70)
#302636
(48,38,54)
#231B26
(35,27,38)
#161016
(22,16,22)
#000000
(0,0,0)

Tints of #987EB6

#987EB6
(152,126,182)
#A189BC
(161,137,188)
#AA94C2
(170,148,194)
#B39FC8
(179,159,200)
#BCAACE
(188,170,206)
#C5B5D4
(197,181,212)
#CEC0DA
(206,192,218)
#D7CBE0
(215,203,224)
#E0D6E6
(224,214,230)
#E9E1EC
(233,225,236)
#F2ECF2
(242,236,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #987EB6 color. Also use rgb(152,126,182) instead hex code.

Text Font Color

.myTextColor { color: #987EB6; }

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

This text font color is #987EB6.


Background Color

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

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

This div background color is #987EB6.


Border color

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

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

This div border color is #987EB6.


Opacity

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

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

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

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

This text has shadow with #987EB6 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #987EB6 on black background.


Color preview on white background

This text has color #987EB6 on white background.



Black color preview on #987EB6 background

This text has black color on #987EB6 background.


White color preview on #987EB6 background

This text has white color on #987EB6 background.