COLOR #987698

HEX: #987698 RGB: (152,118,152)

Color info

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

RGB color model

#987698 color RGB value is (152,118,152).

RGB: (152,118,152) (60%, 46%, 60%)

RGB channels and saturation

R 152 of 255 = 60%
G 118 of 255 = 46%
B 152 of 255 = 60%

152
118
152

R + G + B ~ 55%. #987698 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B = 152 + 118 + 152 = 422 (100%)
R 152 of 422 ~ 36.02%
G 118 of 422 ~ 27.96%
B 152 of 422 ~ 36.02'%

%36.02
%27.96
%36.02

CMYK color model

#987698 color CMYK value is (0,22,0,40).

  • cyan value is 0.00%
  • magenta value is 22.37%
  • yellow value is 0.00%
  • key color value is 40.39%

CMYK: (0,22,0,40)
C0M22Y0K40 (0%, 22%, 0%, 40%)
(0.00 / 0.22 / 0.00 / 0.40)

CMYK percentages

%0
%22.37
%0
%40.39

Codes

Color #987698 in popluar color models

98 76 98
RGB 152 118 152
HSL 300° 14.17% 52.94%
HSB/HSV 300° 22.37% 59.61%
CMYK 0.00% 22.37% 0.00%
40.39%

Color #987698 in popluar number systems.

HEX 98 76 98
Decimal 152 118 152
Binary 10011000 1110110 10011000
Octal 230 166 230

Shades and tints

Shades of #987698

#987698
(152,118,152)
#8B6C8B
(139,108,139)
#7E627E
(126,98,126)
#715871
(113,88,113)
#644E64
(100,78,100)
#574457
(87,68,87)
#4A3A4A
(74,58,74)
#3D303D
(61,48,61)
#302630
(48,38,48)
#231C23
(35,28,35)
#161216
(22,18,22)
#000000
(0,0,0)

Tints of #987698

#987698
(152,118,152)
#A182A1
(161,130,161)
#AA8EAA
(170,142,170)
#B39AB3
(179,154,179)
#BCA6BC
(188,166,188)
#C5B2C5
(197,178,197)
#CEBECE
(206,190,206)
#D7CAD7
(215,202,215)
#E0D6E0
(224,214,224)
#E9E2E9
(233,226,233)
#F2EEF2
(242,238,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #987698 color. Also use rgb(152,118,152) instead hex code.

Text Font Color

.myTextColor { color: #987698; }

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

This text font color is #987698.

Background Color

.myBgColor { background-color: #987698; }

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

This div background color is #987698.

Border color

.myBorderColor { border: 1px solid #987698; }

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

This div border color is #987698.

Opacity

.myOpacity80 { color: #987698; opacity: 0.8; }

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

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

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

This text has shadow with #987698 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #987698.

Preview

Color preview on black background

This text has color #987698 on black background.


Color preview on white background

This text has color #987698 on white background.


Black color preview on #987698 background

This text has black color on #987698 background.


White color preview on #987698 background

This text has white color on #987698 background.


Related colors

Complementary color

Complementary color for #hex is #678967.


I love getcolorcode.com

Triadic colors

1 #989876 and #769898 with #987698 are triadic colors.

2 #987698 and #769898 with #987698 are triadic colors.