COLOR #978797

HEX: #978797
RGB: (151,135,151)

Color info

#978797 contains red, green and blue colors in about the same proportion. Web safe color of #978797 is #999999 (or #999).

RGB color model

#978797 color RGB value is (151,135,151).

  • red value is 151;
  • green value is 135;
  • blue value is 151.
RGB:
(151,135,151)
(59%,53%,59%)

RGB channels and saturation

R 151 of 255 = 59%
G 135 of 255 = 53%
B 151 of 255 = 59%

151
135
151

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

Portions of RGB colors in percentages

R + G + B =
151 + 135 + 151 = 437 (100%)
R 151 of 437 ~ 34.55%
G 135 of 437 ~ 30.89%
B 151 of 437 ~ 34.55%

%34.55
%30.89
%34.55

CMYK color model

#978797 color CMYK value is (0,11,0,41).

  • cyan value is 0.00%
  • magenta value is 10.60%
  • yellow value is 0.00%
  • key color value is 40.78%
CMYK:
(0,11,0,41)
C0M11Y0K41 
(0%,11%,0%,41%)
(0.00/0.11/0.00/0.41)	

CMYK percentages

%0
%10.6
%0
%40.78

Codes

Color #978797 in popluar color models

978797
RGB151135151
HSL300°7.14%56.08%
HSB/HSV300°10.60%59.22%
CMYK0.00%10.60%0.00%
40.78%

Color #978797 in popluar number systems.

HEX978797
Decimal151135151
Binary100101111000011110010111
Octal227207227

Shades and tints

Shades of #978797

#978797
(151,135,151)
#8A7B8A
(138,123,138)
#7D6F7D
(125,111,125)
#706370
(112,99,112)
#635763
(99,87,99)
#564B56
(86,75,86)
#493F49
(73,63,73)
#3C333C
(60,51,60)
#2F272F
(47,39,47)
#221B22
(34,27,34)
#150F15
(21,15,21)
#000000
(0,0,0)

Tints of #978797

#978797
(151,135,151)
#A091A0
(160,145,160)
#A99BA9
(169,155,169)
#B2A5B2
(178,165,178)
#BBAFBB
(187,175,187)
#C4B9C4
(196,185,196)
#CDC3CD
(205,195,205)
#D6CDD6
(214,205,214)
#DFD7DF
(223,215,223)
#E8E1E8
(232,225,232)
#F1EBF1
(241,235,241)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #978797 color. Also use rgb(151,135,151) instead hex code.

Text Font Color

.myTextColor { color: #978797; }

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

This text font color is #978797.


Background Color

.myBgColor { background-color: #978797; }

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

This div background color is #978797.


Border color

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

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

This div border color is #978797.


Opacity

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

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

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

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

This text has shadow with #978797 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #978797 on black background.


Color preview on white background

This text has color #978797 on white background.



Black color preview on #978797 background

This text has black color on #978797 background.


White color preview on #978797 background

This text has white color on #978797 background.