COLOR #987EF4

HEX: #987EF4
RGB: (152,126,244)

Color info

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

RGB color model

#987EF4 color RGB value is (152,126,244).

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

RGB channels and saturation

R 152 of 255 = 60%
G 126 of 255 = 49%
B 244 of 255 = 96%

152
126
244

R + G + B ~ 68%. #987EF4 is quite light color.

Portions of RGB colors in percentages

R + G + B =
152 + 126 + 244 = 522 (100%)
R 152 of 522 ~ 29.12%
G 126 of 522 ~ 24.14%
B 244 of 522 ~ 46.74%

%29.12
%24.14
%46.74

CMYK color model

#987EF4 color CMYK value is (38,48,0,4).

  • cyan value is 37.70%
  • magenta value is 48.36%
  • yellow value is 0.00%
  • key color value is 4.31%
CMYK:
(38,48,0,4)
C38M48Y0K4 
(38%,48%,0%,4%)
(0.38/0.48/0.00/0.04)	

CMYK percentages

%37.7
%48.36
%0
%4.31

Codes

Color #987EF4 in popluar color models

987EF4
RGB152126244
HSL253°84.29%72.55%
HSB/HSV253°48.36%95.69%
CMYK37.70%48.36%0.00%
4.31%

Color #987EF4 in popluar number systems.

HEX987EF4
Decimal152126244
Binary10011000111111011110100
Octal230176364

Shades and tints

Shades of #987EF4

#987EF4
(152,126,244)
#8B73DE
(139,115,222)
#7E68C8
(126,104,200)
#715DB2
(113,93,178)
#64529C
(100,82,156)
#574786
(87,71,134)
#4A3C70
(74,60,112)
#3D315A
(61,49,90)
#302644
(48,38,68)
#231B2E
(35,27,46)
#161018
(22,16,24)
#000000
(0,0,0)

Tints of #987EF4

#987EF4
(152,126,244)
#A189F5
(161,137,245)
#AA94F6
(170,148,246)
#B39FF7
(179,159,247)
#BCAAF8
(188,170,248)
#C5B5F9
(197,181,249)
#CEC0FA
(206,192,250)
#D7CBFB
(215,203,251)
#E0D6FC
(224,214,252)
#E9E1FD
(233,225,253)
#F2ECFE
(242,236,254)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #987EF4; }

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

This text font color is #987EF4.


Background Color

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

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

This div background color is #987EF4.


Border color

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

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

This div border color is #987EF4.


Opacity

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

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

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

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

This text has shadow with #987EF4 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #987EF4 on black background.


Color preview on white background

This text has color #987EF4 on white background.



Black color preview on #987EF4 background

This text has black color on #987EF4 background.


White color preview on #987EF4 background

This text has white color on #987EF4 background.