COLOR #987EBD

HEX: #987EBD
RGB: (152,126,189)

Color info

#987EBD contains mainly red and blue colors. Web safe color of #987EBD is #9966CC (or #96C).

RGB color model

#987EBD color RGB value is (152,126,189).

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

RGB channels and saturation

R 152 of 255 = 60%
G 126 of 255 = 49%
B 189 of 255 = 74%

152
126
189

R + G + B ~ 61%. #987EBD is quite light color.

Portions of RGB colors in percentages

R + G + B =
152 + 126 + 189 = 467 (100%)
R 152 of 467 ~ 32.55%
G 126 of 467 ~ 26.98%
B 189 of 467 ~ 40.47%

%32.55
%26.98
%40.47

CMYK color model

#987EBD color CMYK value is (20,33,0,26).

  • cyan value is 19.58%
  • magenta value is 33.33%
  • yellow value is 0.00%
  • key color value is 25.88%
CMYK:
(20,33,0,26)
C20M33Y0K26 
(20%,33%,0%,26%)
(0.20/0.33/0.00/0.26)	

CMYK percentages

%19.58
%33.33
%0
%25.88

Codes

Color #987EBD in popluar color models

987EBD
RGB152126189
HSL265°32.31%61.76%
HSB/HSV265°33.33%74.12%
CMYK19.58%33.33%0.00%
25.88%

Color #987EBD in popluar number systems.

HEX987EBD
Decimal152126189
Binary10011000111111010111101
Octal230176275

Shades and tints

Shades of #987EBD

#987EBD
(152,126,189)
#8B73AC
(139,115,172)
#7E689B
(126,104,155)
#715D8A
(113,93,138)
#645279
(100,82,121)
#574768
(87,71,104)
#4A3C57
(74,60,87)
#3D3146
(61,49,70)
#302635
(48,38,53)
#231B24
(35,27,36)
#161013
(22,16,19)
#000000
(0,0,0)

Tints of #987EBD

#987EBD
(152,126,189)
#A189C3
(161,137,195)
#AA94C9
(170,148,201)
#B39FCF
(179,159,207)
#BCAAD5
(188,170,213)
#C5B5DB
(197,181,219)
#CEC0E1
(206,192,225)
#D7CBE7
(215,203,231)
#E0D6ED
(224,214,237)
#E9E1F3
(233,225,243)
#F2ECF9
(242,236,249)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #987EBD; }

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

This text font color is #987EBD.


Background Color

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

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

This div background color is #987EBD.


Border color

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

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

This div border color is #987EBD.


Opacity

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

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

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

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

This text has shadow with #987EBD color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #987EBD on black background.


Color preview on white background

This text has color #987EBD on white background.



Black color preview on #987EBD background

This text has black color on #987EBD background.


White color preview on #987EBD background

This text has white color on #987EBD background.