COLOR #797F52

HEX: #797F52
RGB: (121,127,82)

Color info

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

RGB color model

#797F52 color RGB value is (121,127,82).

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

RGB channels and saturation

R 121 of 255 = 47%
G 127 of 255 = 50%
B 82 of 255 = 32%

121
127
82

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

Portions of RGB colors in percentages

R + G + B =
121 + 127 + 82 = 330 (100%)
R 121 of 330 ~ 36.67%
G 127 of 330 ~ 38.48%
B 82 of 330 ~ 24.85%

%36.67
%38.48
%24.85

CMYK color model

#797F52 color CMYK value is (5,0,35,50).

  • cyan value is 4.72%
  • magenta value is 0.00%
  • yellow value is 35.43%
  • key color value is 50.20%
CMYK:
(5,0,35,50)
C5M0Y35K50 
(5%,0%,35%,50%)
(0.05/0.00/0.35/0.50)	

CMYK percentages

%4.72
%0
%35.43
%50.2

Codes

Color #797F52 in popluar color models

797F52
RGB12112782
HSL68°21.53%40.98%
HSB/HSV68°35.43%49.80%
CMYK4.72%0.00%35.43%
50.20%

Color #797F52 in popluar number systems.

HEX797F52
Decimal12112782
Binary111100111111111010010
Octal171177122

Shades and tints

Shades of #797F52

#797F52
(121,127,82)
#6E744B
(110,116,75)
#636944
(99,105,68)
#585E3D
(88,94,61)
#4D5336
(77,83,54)
#42482F
(66,72,47)
#373D28
(55,61,40)
#2C3221
(44,50,33)
#21271A
(33,39,26)
#161C13
(22,28,19)
#0B110C
(11,17,12)
#000000
(0,0,0)

Tints of #797F52

#797F52
(121,127,82)
#858A61
(133,138,97)
#919570
(145,149,112)
#9DA07F
(157,160,127)
#A9AB8E
(169,171,142)
#B5B69D
(181,182,157)
#C1C1AC
(193,193,172)
#CDCCBB
(205,204,187)
#D9D7CA
(217,215,202)
#E5E2D9
(229,226,217)
#F1EDE8
(241,237,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #797F52; }

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

This text font color is #797F52.


Background Color

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

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

This div background color is #797F52.


Border color

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

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

This div border color is #797F52.


Opacity

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

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

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

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

This text has shadow with #797F52 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #797F52 on black background.


Color preview on white background

This text has color #797F52 on white background.



Black color preview on #797F52 background

This text has black color on #797F52 background.


White color preview on #797F52 background

This text has white color on #797F52 background.