COLOR #987898

HEX: #987898 RGB: (152,120,152)

Color info

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

RGB color model

#987898 color RGB value is (152,120,152).

RGB: (152,120,152) (60%, 47%, 60%)

RGB channels and saturation

R 152 of 255 = 60%
G 120 of 255 = 47%
B 152 of 255 = 60%

152
120
152

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

Portions of RGB colors in percentages

R + G + B = 152 + 120 + 152 = 424 (100%)
R 152 of 424 ~ 35.85%
G 120 of 424 ~ 28.3%
B 152 of 424 ~ 35.85'%

%35.85
%28.3
%35.85

CMYK color model

#987898 color CMYK value is (0,21,0,40).

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

CMYK: (0,21,0,40)
C0M21Y0K40 (0%, 21%, 0%, 40%)
(0.00 / 0.21 / 0.00 / 0.40)

CMYK percentages

%0
%21.05
%0
%40.39

Codes

Color #987898 in popluar color models

98 78 98
RGB 152 120 152
HSL 300° 13.45% 53.33%
HSB/HSV 300° 21.05% 59.61%
CMYK 0.00% 21.05% 0.00%
40.39%

Color #987898 in popluar number systems.

HEX 98 78 98
Decimal 152 120 152
Binary 10011000 1111000 10011000
Octal 230 170 230

Shades and tints

Shades of #987898

#987898
(152,120,152)
#8B6E8B
(139,110,139)
#7E647E
(126,100,126)
#715A71
(113,90,113)
#645064
(100,80,100)
#574657
(87,70,87)
#4A3C4A
(74,60,74)
#3D323D
(61,50,61)
#302830
(48,40,48)
#231E23
(35,30,35)
#161416
(22,20,22)
#000000
(0,0,0)

Tints of #987898

#987898
(152,120,152)
#A184A1
(161,132,161)
#AA90AA
(170,144,170)
#B39CB3
(179,156,179)
#BCA8BC
(188,168,188)
#C5B4C5
(197,180,197)
#CEC0CE
(206,192,206)
#D7CCD7
(215,204,215)
#E0D8E0
(224,216,224)
#E9E4E9
(233,228,233)
#F2F0F2
(242,240,242)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #987898; }

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

This text font color is #987898.

Background Color

.myBgColor { background-color: #987898; }

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

This div background color is #987898.

Border color

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

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

This div border color is #987898.

Opacity

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

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

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

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

This text has shadow with #987898 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #987898.

Preview

Color preview on black background

This text has color #987898 on black background.


Color preview on white background

This text has color #987898 on white background.


Black color preview on #987898 background

This text has black color on #987898 background.


White color preview on #987898 background

This text has white color on #987898 background.


Related colors

Complementary color

Complementary color for #hex is #678767.


I love getcolorcode.com

Triadic colors

1 #989878 and #789898 with #987898 are triadic colors.

2 #987898 and #789898 with #987898 are triadic colors.