COLOR #987BB1

HEX: #987BB1
RGB: (152,123,177)

Color info

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

RGB color model

#987BB1 color RGB value is (152,123,177).

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

RGB channels and saturation

R 152 of 255 = 60%
G 123 of 255 = 48%
B 177 of 255 = 69%

152
123
177

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

Portions of RGB colors in percentages

R + G + B =
152 + 123 + 177 = 452 (100%)
R 152 of 452 ~ 33.63%
G 123 of 452 ~ 27.21%
B 177 of 452 ~ 39.16%

%33.63
%27.21
%39.16

CMYK color model

#987BB1 color CMYK value is (14,31,0,31).

  • cyan value is 14.12%
  • magenta value is 30.51%
  • yellow value is 0.00%
  • key color value is 30.59%
CMYK:
(14,31,0,31)
C14M31Y0K31 
(14%,31%,0%,31%)
(0.14/0.31/0.00/0.31)	

CMYK percentages

%14.12
%30.51
%0
%30.59

Codes

Color #987BB1 in popluar color models

987BB1
RGB152123177
HSL272°25.71%58.82%
HSB/HSV272°30.51%69.41%
CMYK14.12%30.51%0.00%
30.59%

Color #987BB1 in popluar number systems.

HEX987BB1
Decimal152123177
Binary10011000111101110110001
Octal230173261

Shades and tints

Shades of #987BB1

#987BB1
(152,123,177)
#8B70A1
(139,112,161)
#7E6591
(126,101,145)
#715A81
(113,90,129)
#644F71
(100,79,113)
#574461
(87,68,97)
#4A3951
(74,57,81)
#3D2E41
(61,46,65)
#302331
(48,35,49)
#231821
(35,24,33)
#160D11
(22,13,17)
#000000
(0,0,0)

Tints of #987BB1

#987BB1
(152,123,177)
#A187B8
(161,135,184)
#AA93BF
(170,147,191)
#B39FC6
(179,159,198)
#BCABCD
(188,171,205)
#C5B7D4
(197,183,212)
#CEC3DB
(206,195,219)
#D7CFE2
(215,207,226)
#E0DBE9
(224,219,233)
#E9E7F0
(233,231,240)
#F2F3F7
(242,243,247)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #987BB1; }

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

This text font color is #987BB1.


Background Color

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

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

This div background color is #987BB1.


Border color

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

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

This div border color is #987BB1.


Opacity

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

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

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

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

This text has shadow with #987BB1 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #987BB1 on black background.


Color preview on white background

This text has color #987BB1 on white background.



Black color preview on #987BB1 background

This text has black color on #987BB1 background.


White color preview on #987BB1 background

This text has white color on #987BB1 background.