COLOR #797E5A

HEX: #797E5A
RGB: (121,126,90)

Color info

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

RGB color model

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

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

RGB channels and saturation

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

121
126
90

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

Portions of RGB colors in percentages

R + G + B =
121 + 126 + 90 = 337 (100%)
R 121 of 337 ~ 35.91%
G 126 of 337 ~ 37.39%
B 90 of 337 ~ 26.71%

%35.91
%37.39
%26.71

CMYK color model

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

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

CMYK percentages

%3.97
%0
%28.57
%50.59

Codes

Color #797E5A in popluar color models

797E5A
RGB12112690
HSL68°16.67%42.35%
HSB/HSV68°28.57%49.41%
CMYK3.97%0.00%28.57%
50.59%

Color #797E5A in popluar number systems.

HEX797E5A
Decimal12112690
Binary111100111111101011010
Octal171176132

Shades and tints

Shades of #797E5A

#797E5A
(121,126,90)
#6E7352
(110,115,82)
#63684A
(99,104,74)
#585D42
(88,93,66)
#4D523A
(77,82,58)
#424732
(66,71,50)
#373C2A
(55,60,42)
#2C3122
(44,49,34)
#21261A
(33,38,26)
#161B12
(22,27,18)
#0B100A
(11,16,10)
#000000
(0,0,0)

Tints of #797E5A

#797E5A
(121,126,90)
#858969
(133,137,105)
#919478
(145,148,120)
#9D9F87
(157,159,135)
#A9AA96
(169,170,150)
#B5B5A5
(181,181,165)
#C1C0B4
(193,192,180)
#CDCBC3
(205,203,195)
#D9D6D2
(217,214,210)
#E5E1E1
(229,225,225)
#F1ECF0
(241,236,240)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #797E5A; }

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

This text font color is #797E5A.


Background Color

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

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

This div background color is #797E5A.


Border color

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

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

This div border color is #797E5A.


Opacity

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

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

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

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

This text has shadow with #797E5A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #797E5A on black background.


Color preview on white background

This text has color #797E5A on white background.



Black color preview on #797E5A background

This text has black color on #797E5A background.


White color preview on #797E5A background

This text has white color on #797E5A background.