COLOR #987AB2

HEX: #987AB2 RGB: (152,122,178)

Color info

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

RGB color model

#987AB2 color RGB value is (152,122,178).

RGB: (152,122,178) (60%, 48%, 70%)

RGB channels and saturation

R 152 of 255 = 60%
G 122 of 255 = 48%
B 178 of 255 = 70%

152
122
178

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

Portions of RGB colors in percentages

R + G + B = 152 + 122 + 178 = 452 (100%)
R 152 of 452 ~ 33.63%
G 122 of 452 ~ 26.99%
B 178 of 452 ~ 39.38'%

%33.63
%26.99
%39.38

CMYK color model

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

  • cyan value is 14.61%
  • magenta value is 31.46%
  • yellow value is 0.00%
  • key color value is 30.20%

CMYK: (15,31,0,30)
C15M31Y0K30 (15%, 31%, 0%, 30%)
(0.15 / 0.31 / 0.00 / 0.30)

CMYK percentages

%14.61
%31.46
%0
%30.2

Codes

Color #987AB2 in popluar color models

98 7A B2
RGB 152 122 178
HSL 272° 26.67% 58.82%
HSB/HSV 272° 31.46% 69.80%
CMYK 14.61% 31.46% 0.00%
30.20%

Color #987AB2 in popluar number systems.

HEX 98 7A B2
Decimal 152 122 178
Binary 10011000 1111010 10110010
Octal 230 172 262

Shades and tints

Shades of #987AB2

#987AB2
(152,122,178)
#8B6FA2
(139,111,162)
#7E6492
(126,100,146)
#715982
(113,89,130)
#644E72
(100,78,114)
#574362
(87,67,98)
#4A3852
(74,56,82)
#3D2D42
(61,45,66)
#302232
(48,34,50)
#231722
(35,23,34)
#160C12
(22,12,18)
#000000
(0,0,0)

Tints of #987AB2

#987AB2
(152,122,178)
#A186B9
(161,134,185)
#AA92C0
(170,146,192)
#B39EC7
(179,158,199)
#BCAACE
(188,170,206)
#C5B6D5
(197,182,213)
#CEC2DC
(206,194,220)
#D7CEE3
(215,206,227)
#E0DAEA
(224,218,234)
#E9E6F1
(233,230,241)
#F2F2F8
(242,242,248)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #987AB2 color. Also use rgb(152,122,178) instead hex code.

Text Font Color

.myTextColor { color: #987AB2; }

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

This text font color is #987AB2.

Background Color

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

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

This div background color is #987AB2.

Border color

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

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

This div border color is #987AB2.

Opacity

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

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

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

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

This text has shadow with #987AB2 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #987AB2.

Preview

Color preview on black background

This text has color #987AB2 on black background.


Color preview on white background

This text has color #987AB2 on white background.


Black color preview on #987AB2 background

This text has black color on #987AB2 background.


White color preview on #987AB2 background

This text has white color on #987AB2 background.


Related colors

Complementary color

Complementary color for #hex is #67854D.


I love getcolorcode.com

Triadic colors

1 #B2987A and #7AB298 with #987AB2 are triadic colors.

2 #B27A98 and #7A98B2 with #987AB2 are triadic colors.