COLOR #797A7F

HEX: #797A7F
RGB: (121,122,127)

Color info

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

RGB color model

#797A7F color RGB value is (121,122,127).

  • red value is 121;
  • green value is 122;
  • blue value is 127.
RGB:
(121,122,127)
(47%,48%,50%)

RGB channels and saturation

R 121 of 255 = 47%
G 122 of 255 = 48%
B 127 of 255 = 50%

121
122
127

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

Portions of RGB colors in percentages

R + G + B =
121 + 122 + 127 = 370 (100%)
R 121 of 370 ~ 32.7%
G 122 of 370 ~ 32.97%
B 127 of 370 ~ 34.32%

%32.7
%32.97
%34.32

CMYK color model

#797A7F color CMYK value is (5,4,0,50).

  • cyan value is 4.72%
  • magenta value is 3.94%
  • yellow value is 0.00%
  • key color value is 50.20%
CMYK:
(5,4,0,50)
C5M4Y0K50 
(5%,4%,0%,50%)
(0.05/0.04/0.00/0.50)	

CMYK percentages

%4.72
%3.94
%0
%50.2

Codes

Color #797A7F in popluar color models

797A7F
RGB121122127
HSL230°2.42%48.63%
HSB/HSV230°4.72%49.80%
CMYK4.72%3.94%0.00%
50.20%

Color #797A7F in popluar number systems.

HEX797A7F
Decimal121122127
Binary111100111110101111111
Octal171172177

Shades and tints

Shades of #797A7F

#797A7F
(121,122,127)
#6E6F74
(110,111,116)
#636469
(99,100,105)
#58595E
(88,89,94)
#4D4E53
(77,78,83)
#424348
(66,67,72)
#37383D
(55,56,61)
#2C2D32
(44,45,50)
#212227
(33,34,39)
#16171C
(22,23,28)
#0B0C11
(11,12,17)
#000000
(0,0,0)

Tints of #797A7F

#797A7F
(121,122,127)
#85868A
(133,134,138)
#919295
(145,146,149)
#9D9EA0
(157,158,160)
#A9AAAB
(169,170,171)
#B5B6B6
(181,182,182)
#C1C2C1
(193,194,193)
#CDCECC
(205,206,204)
#D9DAD7
(217,218,215)
#E5E6E2
(229,230,226)
#F1F2ED
(241,242,237)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #797A7F; }

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

This text font color is #797A7F.


Background Color

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

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

This div background color is #797A7F.


Border color

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

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

This div border color is #797A7F.


Opacity

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

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

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

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

This text has shadow with #797A7F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #797A7F on black background.


Color preview on white background

This text has color #797A7F on white background.



Black color preview on #797A7F background

This text has black color on #797A7F background.


White color preview on #797A7F background

This text has white color on #797A7F background.