COLOR #987DA1

HEX: #987DA1
RGB: (152,125,161)

Color info

#987DA1 contains red, green and blue colors in about the same proportion. Web safe color of #987DA1 is #996699 (or #969).

RGB color model

#987DA1 color RGB value is (152,125,161).

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

RGB channels and saturation

R 152 of 255 = 60%
G 125 of 255 = 49%
B 161 of 255 = 63%

152
125
161

R + G + B ~ 57%. #987DA1 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
152 + 125 + 161 = 438 (100%)
R 152 of 438 ~ 34.7%
G 125 of 438 ~ 28.54%
B 161 of 438 ~ 36.76%

%34.7
%28.54
%36.76

CMYK color model

#987DA1 color CMYK value is (6,22,0,37).

  • cyan value is 5.59%
  • magenta value is 22.36%
  • yellow value is 0.00%
  • key color value is 36.86%
CMYK:
(6,22,0,37)
C6M22Y0K37 
(6%,22%,0%,37%)
(0.06/0.22/0.00/0.37)	

CMYK percentages

%5.59
%22.36
%0
%36.86

Codes

Color #987DA1 in popluar color models

987DA1
RGB152125161
HSL285°16.07%56.08%
HSB/HSV285°22.36%63.14%
CMYK5.59%22.36%0.00%
36.86%

Color #987DA1 in popluar number systems.

HEX987DA1
Decimal152125161
Binary10011000111110110100001
Octal230175241

Shades and tints

Shades of #987DA1

#987DA1
(152,125,161)
#8B7293
(139,114,147)
#7E6785
(126,103,133)
#715C77
(113,92,119)
#645169
(100,81,105)
#57465B
(87,70,91)
#4A3B4D
(74,59,77)
#3D303F
(61,48,63)
#302531
(48,37,49)
#231A23
(35,26,35)
#160F15
(22,15,21)
#000000
(0,0,0)

Tints of #987DA1

#987DA1
(152,125,161)
#A188A9
(161,136,169)
#AA93B1
(170,147,177)
#B39EB9
(179,158,185)
#BCA9C1
(188,169,193)
#C5B4C9
(197,180,201)
#CEBFD1
(206,191,209)
#D7CAD9
(215,202,217)
#E0D5E1
(224,213,225)
#E9E0E9
(233,224,233)
#F2EBF1
(242,235,241)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #987DA1; }

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

This text font color is #987DA1.


Background Color

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

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

This div background color is #987DA1.


Border color

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

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

This div border color is #987DA1.


Opacity

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

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

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

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

This text has shadow with #987DA1 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #987DA1 on black background.


Color preview on white background

This text has color #987DA1 on white background.



Black color preview on #987DA1 background

This text has black color on #987DA1 background.


White color preview on #987DA1 background

This text has white color on #987DA1 background.