COLOR #987CEB

HEX: #987CEB
RGB: (152,124,235)

Color info

#987CEB contains mainly blue color. Web safe color of #987CEB is #9966FF (or #96F).

RGB color model

#987CEB color RGB value is (152,124,235).

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

RGB channels and saturation

R 152 of 255 = 60%
G 124 of 255 = 49%
B 235 of 255 = 92%

152
124
235

R + G + B ~ 67%. #987CEB is quite light color.

Portions of RGB colors in percentages

R + G + B =
152 + 124 + 235 = 511 (100%)
R 152 of 511 ~ 29.75%
G 124 of 511 ~ 24.27%
B 235 of 511 ~ 45.99%

%29.75
%24.27
%45.99

CMYK color model

#987CEB color CMYK value is (35,47,0,8).

  • cyan value is 35.32%
  • magenta value is 47.23%
  • yellow value is 0.00%
  • key color value is 7.84%
CMYK:
(35,47,0,8)
C35M47Y0K8 
(35%,47%,0%,8%)
(0.35/0.47/0.00/0.08)	

CMYK percentages

%35.32
%47.23
%0
%7.84

Codes

Color #987CEB in popluar color models

987CEB
RGB152124235
HSL255°73.51%70.39%
HSB/HSV255°47.23%92.16%
CMYK35.32%47.23%0.00%
7.84%

Color #987CEB in popluar number systems.

HEX987CEB
Decimal152124235
Binary10011000111110011101011
Octal230174353

Shades and tints

Shades of #987CEB

#987CEB
(152,124,235)
#8B71D6
(139,113,214)
#7E66C1
(126,102,193)
#715BAC
(113,91,172)
#645097
(100,80,151)
#574582
(87,69,130)
#4A3A6D
(74,58,109)
#3D2F58
(61,47,88)
#302443
(48,36,67)
#23192E
(35,25,46)
#160E19
(22,14,25)
#000000
(0,0,0)

Tints of #987CEB

#987CEB
(152,124,235)
#A187EC
(161,135,236)
#AA92ED
(170,146,237)
#B39DEE
(179,157,238)
#BCA8EF
(188,168,239)
#C5B3F0
(197,179,240)
#CEBEF1
(206,190,241)
#D7C9F2
(215,201,242)
#E0D4F3
(224,212,243)
#E9DFF4
(233,223,244)
#F2EAF5
(242,234,245)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #987CEB; }

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

This text font color is #987CEB.


Background Color

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

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

This div background color is #987CEB.


Border color

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

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

This div border color is #987CEB.


Opacity

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

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

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

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

This text has shadow with #987CEB color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #987CEB on black background.


Color preview on white background

This text has color #987CEB on white background.



Black color preview on #987CEB background

This text has black color on #987CEB background.


White color preview on #987CEB background

This text has white color on #987CEB background.