COLOR #797962

HEX: #797962
RGB: (121,121,98)

Color info

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

RGB color model

#797962 color RGB value is (121,121,98).

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

RGB channels and saturation

R 121 of 255 = 47%
G 121 of 255 = 47%
B 98 of 255 = 38%

121
121
98

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

Portions of RGB colors in percentages

R + G + B =
121 + 121 + 98 = 340 (100%)
R 121 of 340 ~ 35.59%
G 121 of 340 ~ 35.59%
B 98 of 340 ~ 28.82%

%35.59
%35.59
%28.82

CMYK color model

#797962 color CMYK value is (0,0,19,53).

  • cyan value is 0.00%
  • magenta value is 0.00%
  • yellow value is 19.01%
  • key color value is 52.55%
CMYK:
(0,0,19,53)
C0M0Y19K53 
(0%,0%,19%,53%)
(0.00/0.00/0.19/0.53)	

CMYK percentages

%0
%0
%19.01
%52.55

Codes

Color #797962 in popluar color models

797962
RGB12112198
HSL60°10.50%42.94%
HSB/HSV60°19.01%47.45%
CMYK0.00%0.00%19.01%
52.55%

Color #797962 in popluar number systems.

HEX797962
Decimal12112198
Binary111100111110011100010
Octal171171142

Shades and tints

Shades of #797962

#797962
(121,121,98)
#6E6E5A
(110,110,90)
#636352
(99,99,82)
#58584A
(88,88,74)
#4D4D42
(77,77,66)
#42423A
(66,66,58)
#373732
(55,55,50)
#2C2C2A
(44,44,42)
#212122
(33,33,34)
#16161A
(22,22,26)
#0B0B12
(11,11,18)
#000000
(0,0,0)

Tints of #797962

#797962
(121,121,98)
#858570
(133,133,112)
#91917E
(145,145,126)
#9D9D8C
(157,157,140)
#A9A99A
(169,169,154)
#B5B5A8
(181,181,168)
#C1C1B6
(193,193,182)
#CDCDC4
(205,205,196)
#D9D9D2
(217,217,210)
#E5E5E0
(229,229,224)
#F1F1EE
(241,241,238)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #797962; }

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

This text font color is #797962.


Background Color

.myBgColor { background-color: #797962; }

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

This div background color is #797962.


Border color

.myBorderColor { border: 1px solid #797962; }

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

This div border color is #797962.


Opacity

.myOpacity80 { color: #797962; opacity: 0.8; }

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

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

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

This text has shadow with #797962 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #797962 on black background.


Color preview on white background

This text has color #797962 on white background.



Black color preview on #797962 background

This text has black color on #797962 background.


White color preview on #797962 background

This text has white color on #797962 background.