COLOR #987DCB

HEX: #987DCB
RGB: (152,125,203)

Color info

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

RGB color model

#987DCB color RGB value is (152,125,203).

  • red value is 152;
  • green value is 125;
  • blue value is 203.
RGB:
(152,125,203)
(60%,49%,80%)

RGB channels and saturation

R 152 of 255 = 60%
G 125 of 255 = 49%
B 203 of 255 = 80%

152
125
203

R + G + B ~ 63%. #987DCB is quite light color.

Portions of RGB colors in percentages

R + G + B =
152 + 125 + 203 = 480 (100%)
R 152 of 480 ~ 31.67%
G 125 of 480 ~ 26.04%
B 203 of 480 ~ 42.29%

%31.67
%26.04
%42.29

CMYK color model

#987DCB color CMYK value is (25,38,0,20).

  • cyan value is 25.12%
  • magenta value is 38.42%
  • yellow value is 0.00%
  • key color value is 20.39%
CMYK:
(25,38,0,20)
C25M38Y0K20 
(25%,38%,0%,20%)
(0.25/0.38/0.00/0.20)	

CMYK percentages

%25.12
%38.42
%0
%20.39

Codes

Color #987DCB in popluar color models

987DCB
RGB152125203
HSL261°42.86%64.31%
HSB/HSV261°38.42%79.61%
CMYK25.12%38.42%0.00%
20.39%

Color #987DCB in popluar number systems.

HEX987DCB
Decimal152125203
Binary10011000111110111001011
Octal230175313

Shades and tints

Shades of #987DCB

#987DCB
(152,125,203)
#8B72B9
(139,114,185)
#7E67A7
(126,103,167)
#715C95
(113,92,149)
#645183
(100,81,131)
#574671
(87,70,113)
#4A3B5F
(74,59,95)
#3D304D
(61,48,77)
#30253B
(48,37,59)
#231A29
(35,26,41)
#160F17
(22,15,23)
#000000
(0,0,0)

Tints of #987DCB

#987DCB
(152,125,203)
#A188CF
(161,136,207)
#AA93D3
(170,147,211)
#B39ED7
(179,158,215)
#BCA9DB
(188,169,219)
#C5B4DF
(197,180,223)
#CEBFE3
(206,191,227)
#D7CAE7
(215,202,231)
#E0D5EB
(224,213,235)
#E9E0EF
(233,224,239)
#F2EBF3
(242,235,243)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #987DCB color. Also use rgb(152,125,203) instead hex code.

Text Font Color

.myTextColor { color: #987DCB; }

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

This text font color is #987DCB.


Background Color

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

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

This div background color is #987DCB.


Border color

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

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

This div border color is #987DCB.


Opacity

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

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

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

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

This text has shadow with #987DCB color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #987DCB on black background.


Color preview on white background

This text has color #987DCB on white background.



Black color preview on #987DCB background

This text has black color on #987DCB background.


White color preview on #987DCB background

This text has white color on #987DCB background.