COLOR #987BC6

HEX: #987BC6
RGB: (152,123,198)

Color info

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

RGB color model

#987BC6 color RGB value is (152,123,198).

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

RGB channels and saturation

R 152 of 255 = 60%
G 123 of 255 = 48%
B 198 of 255 = 78%

152
123
198

R + G + B ~ 62%. #987BC6 is quite light color.

Portions of RGB colors in percentages

R + G + B =
152 + 123 + 198 = 473 (100%)
R 152 of 473 ~ 32.14%
G 123 of 473 ~ 26%
B 198 of 473 ~ 41.86%

%32.14
%26
%41.86

CMYK color model

#987BC6 color CMYK value is (23,38,0,22).

  • cyan value is 23.23%
  • magenta value is 37.88%
  • yellow value is 0.00%
  • key color value is 22.35%
CMYK:
(23,38,0,22)
C23M38Y0K22 
(23%,38%,0%,22%)
(0.23/0.38/0.00/0.22)	

CMYK percentages

%23.23
%37.88
%0
%22.35

Codes

Color #987BC6 in popluar color models

987BC6
RGB152123198
HSL263°39.68%62.94%
HSB/HSV263°37.88%77.65%
CMYK23.23%37.88%0.00%
22.35%

Color #987BC6 in popluar number systems.

HEX987BC6
Decimal152123198
Binary10011000111101111000110
Octal230173306

Shades and tints

Shades of #987BC6

#987BC6
(152,123,198)
#8B70B4
(139,112,180)
#7E65A2
(126,101,162)
#715A90
(113,90,144)
#644F7E
(100,79,126)
#57446C
(87,68,108)
#4A395A
(74,57,90)
#3D2E48
(61,46,72)
#302336
(48,35,54)
#231824
(35,24,36)
#160D12
(22,13,18)
#000000
(0,0,0)

Tints of #987BC6

#987BC6
(152,123,198)
#A187CB
(161,135,203)
#AA93D0
(170,147,208)
#B39FD5
(179,159,213)
#BCABDA
(188,171,218)
#C5B7DF
(197,183,223)
#CEC3E4
(206,195,228)
#D7CFE9
(215,207,233)
#E0DBEE
(224,219,238)
#E9E7F3
(233,231,243)
#F2F3F8
(242,243,248)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #987BC6; }

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

This text font color is #987BC6.


Background Color

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

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

This div background color is #987BC6.


Border color

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

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

This div border color is #987BC6.


Opacity

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

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

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

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

This text has shadow with #987BC6 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #987BC6 on black background.


Color preview on white background

This text has color #987BC6 on white background.



Black color preview on #987BC6 background

This text has black color on #987BC6 background.


White color preview on #987BC6 background

This text has white color on #987BC6 background.