COLOR #987BD5

HEX: #987BD5
RGB: (152,123,213)

Color info

#987BD5 contains mainly blue color. Web safe color of #987BD5 is #9966CC (or #96C).

RGB color model

#987BD5 color RGB value is (152,123,213).

  • red value is 152;
  • green value is 123;
  • blue value is 213.
RGB:
(152,123,213)
(60%,48%,84%)

RGB channels and saturation

R 152 of 255 = 60%
G 123 of 255 = 48%
B 213 of 255 = 84%

152
123
213

R + G + B ~ 64%. #987BD5 is quite light color.

Portions of RGB colors in percentages

R + G + B =
152 + 123 + 213 = 488 (100%)
R 152 of 488 ~ 31.15%
G 123 of 488 ~ 25.2%
B 213 of 488 ~ 43.65%

%31.15
%25.2
%43.65

CMYK color model

#987BD5 color CMYK value is (29,42,0,16).

  • cyan value is 28.64%
  • magenta value is 42.25%
  • yellow value is 0.00%
  • key color value is 16.47%
CMYK:
(29,42,0,16)
C29M42Y0K16 
(29%,42%,0%,16%)
(0.29/0.42/0.00/0.16)	

CMYK percentages

%28.64
%42.25
%0
%16.47

Codes

Color #987BD5 in popluar color models

987BD5
RGB152123213
HSL259°51.72%65.88%
HSB/HSV259°42.25%83.53%
CMYK28.64%42.25%0.00%
16.47%

Color #987BD5 in popluar number systems.

HEX987BD5
Decimal152123213
Binary10011000111101111010101
Octal230173325

Shades and tints

Shades of #987BD5

#987BD5
(152,123,213)
#8B70C2
(139,112,194)
#7E65AF
(126,101,175)
#715A9C
(113,90,156)
#644F89
(100,79,137)
#574476
(87,68,118)
#4A3963
(74,57,99)
#3D2E50
(61,46,80)
#30233D
(48,35,61)
#23182A
(35,24,42)
#160D17
(22,13,23)
#000000
(0,0,0)

Tints of #987BD5

#987BD5
(152,123,213)
#A187D8
(161,135,216)
#AA93DB
(170,147,219)
#B39FDE
(179,159,222)
#BCABE1
(188,171,225)
#C5B7E4
(197,183,228)
#CEC3E7
(206,195,231)
#D7CFEA
(215,207,234)
#E0DBED
(224,219,237)
#E9E7F0
(233,231,240)
#F2F3F3
(242,243,243)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #987BD5 color. Also use rgb(152,123,213) instead hex code.

Text Font Color

.myTextColor { color: #987BD5; }

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

This text font color is #987BD5.


Background Color

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

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

This div background color is #987BD5.


Border color

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

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

This div border color is #987BD5.


Opacity

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

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

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

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

This text has shadow with #987BD5 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #987BD5 on black background.


Color preview on white background

This text has color #987BD5 on white background.



Black color preview on #987BD5 background

This text has black color on #987BD5 background.


White color preview on #987BD5 background

This text has white color on #987BD5 background.