COLOR #987BB3

HEX: #987BB3
RGB: (152,123,179)

Color info

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

RGB color model

#987BB3 color RGB value is (152,123,179).

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

RGB channels and saturation

R 152 of 255 = 60%
G 123 of 255 = 48%
B 179 of 255 = 70%

152
123
179

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

Portions of RGB colors in percentages

R + G + B =
152 + 123 + 179 = 454 (100%)
R 152 of 454 ~ 33.48%
G 123 of 454 ~ 27.09%
B 179 of 454 ~ 39.43%

%33.48
%27.09
%39.43

CMYK color model

#987BB3 color CMYK value is (15,31,0,30).

  • cyan value is 15.08%
  • magenta value is 31.28%
  • yellow value is 0.00%
  • key color value is 29.80%
CMYK:
(15,31,0,30)
C15M31Y0K30 
(15%,31%,0%,30%)
(0.15/0.31/0.00/0.30)	

CMYK percentages

%15.08
%31.28
%0
%29.8

Codes

Color #987BB3 in popluar color models

987BB3
RGB152123179
HSL271°26.92%59.22%
HSB/HSV271°31.28%70.20%
CMYK15.08%31.28%0.00%
29.80%

Color #987BB3 in popluar number systems.

HEX987BB3
Decimal152123179
Binary10011000111101110110011
Octal230173263

Shades and tints

Shades of #987BB3

#987BB3
(152,123,179)
#8B70A3
(139,112,163)
#7E6593
(126,101,147)
#715A83
(113,90,131)
#644F73
(100,79,115)
#574463
(87,68,99)
#4A3953
(74,57,83)
#3D2E43
(61,46,67)
#302333
(48,35,51)
#231823
(35,24,35)
#160D13
(22,13,19)
#000000
(0,0,0)

Tints of #987BB3

#987BB3
(152,123,179)
#A187B9
(161,135,185)
#AA93BF
(170,147,191)
#B39FC5
(179,159,197)
#BCABCB
(188,171,203)
#C5B7D1
(197,183,209)
#CEC3D7
(206,195,215)
#D7CFDD
(215,207,221)
#E0DBE3
(224,219,227)
#E9E7E9
(233,231,233)
#F2F3EF
(242,243,239)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #987BB3; }

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

This text font color is #987BB3.


Background Color

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

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

This div background color is #987BB3.


Border color

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

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

This div border color is #987BB3.


Opacity

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

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

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

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

This text has shadow with #987BB3 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #987BB3 on black background.


Color preview on white background

This text has color #987BB3 on white background.



Black color preview on #987BB3 background

This text has black color on #987BB3 background.


White color preview on #987BB3 background

This text has white color on #987BB3 background.