COLOR #797E7E

HEX: #797E7E
RGB: (121,126,126)

Color info

#797E7E contains red, green and blue colors in about the same proportion. Web safe color of #797E7E is #666666 (or #666).

RGB color model

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

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

RGB channels and saturation

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

121
126
126

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

Portions of RGB colors in percentages

R + G + B =
121 + 126 + 126 = 373 (100%)
R 121 of 373 ~ 32.44%
G 126 of 373 ~ 33.78%
B 126 of 373 ~ 33.78%

%32.44
%33.78
%33.78

CMYK color model

#797E7E color CMYK value is (4,0,0,51).

  • cyan value is 3.97%
  • magenta value is 0.00%
  • yellow value is 0.00%
  • key color value is 50.59%
CMYK:
(4,0,0,51)
C4M0Y0K51 
(4%,0%,0%,51%)
(0.04/0.00/0.00/0.51)	

CMYK percentages

%3.97
%0
%0
%50.59

Codes

Color #797E7E in popluar color models

797E7E
RGB121126126
HSL180°2.02%48.43%
HSB/HSV180°3.97%49.41%
CMYK3.97%0.00%0.00%
50.59%

Color #797E7E in popluar number systems.

HEX797E7E
Decimal121126126
Binary111100111111101111110
Octal171176176

Shades and tints

Shades of #797E7E

#797E7E
(121,126,126)
#6E7373
(110,115,115)
#636868
(99,104,104)
#585D5D
(88,93,93)
#4D5252
(77,82,82)
#424747
(66,71,71)
#373C3C
(55,60,60)
#2C3131
(44,49,49)
#212626
(33,38,38)
#161B1B
(22,27,27)
#0B1010
(11,16,16)
#000000
(0,0,0)

Tints of #797E7E

#797E7E
(121,126,126)
#858989
(133,137,137)
#919494
(145,148,148)
#9D9F9F
(157,159,159)
#A9AAAA
(169,170,170)
#B5B5B5
(181,181,181)
#C1C0C0
(193,192,192)
#CDCBCB
(205,203,203)
#D9D6D6
(217,214,214)
#E5E1E1
(229,225,225)
#F1ECEC
(241,236,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #797E7E; }

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

This text font color is #797E7E.


Background Color

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

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

This div background color is #797E7E.


Border color

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

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

This div border color is #797E7E.


Opacity

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

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

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

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

This text has shadow with #797E7E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #797E7E on black background.


Color preview on white background

This text has color #797E7E on white background.



Black color preview on #797E7E background

This text has black color on #797E7E background.


White color preview on #797E7E background

This text has white color on #797E7E background.