COLOR #797E8B

HEX: #797E8B
RGB: (121,126,139)

Color info

#797E8B contains red, green and blue colors in about the same proportion. Web safe color of #797E8B is #666699 (or #669).

RGB color model

#797E8B color RGB value is (121,126,139).

  • red value is 121;
  • green value is 126;
  • blue value is 139.
RGB:
(121,126,139)
(47%,49%,55%)

RGB channels and saturation

R 121 of 255 = 47%
G 126 of 255 = 49%
B 139 of 255 = 55%

121
126
139

R + G + B ~ 50%. #797E8B is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
121 + 126 + 139 = 386 (100%)
R 121 of 386 ~ 31.35%
G 126 of 386 ~ 32.64%
B 139 of 386 ~ 36.01%

%31.35
%32.64
%36.01

CMYK color model

#797E8B color CMYK value is (13,9,0,45).

  • cyan value is 12.95%
  • magenta value is 9.35%
  • yellow value is 0.00%
  • key color value is 45.49%
CMYK:
(13,9,0,45)
C13M9Y0K45 
(13%,9%,0%,45%)
(0.13/0.09/0.00/0.45)	

CMYK percentages

%12.95
%9.35
%0
%45.49

Codes

Color #797E8B in popluar color models

797E8B
RGB121126139
HSL223°7.20%50.98%
HSB/HSV223°12.95%54.51%
CMYK12.95%9.35%0.00%
45.49%

Color #797E8B in popluar number systems.

HEX797E8B
Decimal121126139
Binary1111001111111010001011
Octal171176213

Shades and tints

Shades of #797E8B

#797E8B
(121,126,139)
#6E737F
(110,115,127)
#636873
(99,104,115)
#585D67
(88,93,103)
#4D525B
(77,82,91)
#42474F
(66,71,79)
#373C43
(55,60,67)
#2C3137
(44,49,55)
#21262B
(33,38,43)
#161B1F
(22,27,31)
#0B1013
(11,16,19)
#000000
(0,0,0)

Tints of #797E8B

#797E8B
(121,126,139)
#858995
(133,137,149)
#91949F
(145,148,159)
#9D9FA9
(157,159,169)
#A9AAB3
(169,170,179)
#B5B5BD
(181,181,189)
#C1C0C7
(193,192,199)
#CDCBD1
(205,203,209)
#D9D6DB
(217,214,219)
#E5E1E5
(229,225,229)
#F1ECEF
(241,236,239)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #797E8B color. Also use rgb(121,126,139) instead hex code.

Text Font Color

.myTextColor { color: #797E8B; }

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

This text font color is #797E8B.


Background Color

.myBgColor { background-color: #797E8B; }

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

This div background color is #797E8B.


Border color

.myBorderColor { border: 1px solid #797E8B; }

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

This div border color is #797E8B.


Opacity

.myOpacity80 { color: #797E8B; opacity: 0.8; }

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

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

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

This text has shadow with #797E8B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #797E8B on black background.


Color preview on white background

This text has color #797E8B on white background.



Black color preview on #797E8B background

This text has black color on #797E8B background.


White color preview on #797E8B background

This text has white color on #797E8B background.