COLOR #797E8E

HEX: #797E8E
RGB: (121,126,142)

Color info

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

RGB color model

#797E8E color RGB value is (121,126,142).

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

RGB channels and saturation

R 121 of 255 = 47%
G 126 of 255 = 49%
B 142 of 255 = 56%

121
126
142

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

Portions of RGB colors in percentages

R + G + B =
121 + 126 + 142 = 389 (100%)
R 121 of 389 ~ 31.11%
G 126 of 389 ~ 32.39%
B 142 of 389 ~ 36.5%

%31.11
%32.39
%36.5

CMYK color model

#797E8E color CMYK value is (15,11,0,44).

  • cyan value is 14.79%
  • magenta value is 11.27%
  • yellow value is 0.00%
  • key color value is 44.31%
CMYK:
(15,11,0,44)
C15M11Y0K44 
(15%,11%,0%,44%)
(0.15/0.11/0.00/0.44)	

CMYK percentages

%14.79
%11.27
%0
%44.31

Codes

Color #797E8E in popluar color models

797E8E
RGB121126142
HSL226°8.50%51.57%
HSB/HSV226°14.79%55.69%
CMYK14.79%11.27%0.00%
44.31%

Color #797E8E in popluar number systems.

HEX797E8E
Decimal121126142
Binary1111001111111010001110
Octal171176216

Shades and tints

Shades of #797E8E

#797E8E
(121,126,142)
#6E7382
(110,115,130)
#636876
(99,104,118)
#585D6A
(88,93,106)
#4D525E
(77,82,94)
#424752
(66,71,82)
#373C46
(55,60,70)
#2C313A
(44,49,58)
#21262E
(33,38,46)
#161B22
(22,27,34)
#0B1016
(11,16,22)
#000000
(0,0,0)

Tints of #797E8E

#797E8E
(121,126,142)
#858998
(133,137,152)
#9194A2
(145,148,162)
#9D9FAC
(157,159,172)
#A9AAB6
(169,170,182)
#B5B5C0
(181,181,192)
#C1C0CA
(193,192,202)
#CDCBD4
(205,203,212)
#D9D6DE
(217,214,222)
#E5E1E8
(229,225,232)
#F1ECF2
(241,236,242)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #797E8E; }

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

This text font color is #797E8E.


Background Color

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

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

This div background color is #797E8E.


Border color

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

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

This div border color is #797E8E.


Opacity

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

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

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

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

This text has shadow with #797E8E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #797E8E on black background.


Color preview on white background

This text has color #797E8E on white background.



Black color preview on #797E8E background

This text has black color on #797E8E background.


White color preview on #797E8E background

This text has white color on #797E8E background.