COLOR #987DC2

HEX: #987DC2 RGB: (152,125,194)

Color info

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

RGB color model

#987DC2 color RGB value is (152,125,194).

RGB: (152,125,194) (60%, 49%, 76%)

RGB channels and saturation

R 152 of 255 = 60%
G 125 of 255 = 49%
B 194 of 255 = 76%

152
125
194

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

Portions of RGB colors in percentages

R + G + B = 152 + 125 + 194 = 471 (100%)
R 152 of 471 ~ 32.27%
G 125 of 471 ~ 26.54%
B 194 of 471 ~ 41.19'%

%32.27
%26.54
%41.19

CMYK color model

#987DC2 color CMYK value is (22,36,0,24).

  • cyan value is 21.65%
  • magenta value is 35.57%
  • yellow value is 0.00%
  • key color value is 23.92%

CMYK: (22,36,0,24)
C22M36Y0K24 (22%, 36%, 0%, 24%)
(0.22 / 0.36 / 0.00 / 0.24)

CMYK percentages

%21.65
%35.57
%0
%23.92

Codes

Color #987DC2 in popluar color models

98 7D C2
RGB 152 125 194
HSL 263° 36.13% 62.55%
HSB/HSV 263° 35.57% 76.08%
CMYK 21.65% 35.57% 0.00%
23.92%

Color #987DC2 in popluar number systems.

HEX 98 7D C2
Decimal 152 125 194
Binary 10011000 1111101 11000010
Octal 230 175 302

Shades and tints

Shades of #987DC2

#987DC2
(152,125,194)
#8B72B1
(139,114,177)
#7E67A0
(126,103,160)
#715C8F
(113,92,143)
#64517E
(100,81,126)
#57466D
(87,70,109)
#4A3B5C
(74,59,92)
#3D304B
(61,48,75)
#30253A
(48,37,58)
#231A29
(35,26,41)
#160F18
(22,15,24)
#000000
(0,0,0)

Tints of #987DC2

#987DC2
(152,125,194)
#A188C7
(161,136,199)
#AA93CC
(170,147,204)
#B39ED1
(179,158,209)
#BCA9D6
(188,169,214)
#C5B4DB
(197,180,219)
#CEBFE0
(206,191,224)
#D7CAE5
(215,202,229)
#E0D5EA
(224,213,234)
#E9E0EF
(233,224,239)
#F2EBF4
(242,235,244)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #987DC2; }

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

This text font color is #987DC2.

Background Color

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

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

This div background color is #987DC2.

Border color

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

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

This div border color is #987DC2.

Opacity

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

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

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

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

This text has shadow with #987DC2 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #987DC2.

Preview

Color preview on black background

This text has color #987DC2 on black background.


Color preview on white background

This text has color #987DC2 on white background.


Black color preview on #987DC2 background

This text has black color on #987DC2 background.


White color preview on #987DC2 background

This text has white color on #987DC2 background.


Related colors

Complementary color

Complementary color for #hex is #67823D.


I love getcolorcode.com

Triadic colors

1 #C2987D and #7DC298 with #987DC2 are triadic colors.

2 #C27D98 and #7D98C2 with #987DC2 are triadic colors.