COLOR #797042

HEX: #797042
RGB: (121,112,66)

Color info

#797042 contains red, green and blue colors in about the same proportion. Web safe color of #797042 is #666633 (or #663).

RGB color model

#797042 color RGB value is (121,112,66).

  • red value is 121;
  • green value is 112;
  • blue value is 66.
RGB:
(121,112,66)
(47%,44%,26%)

RGB channels and saturation

R 121 of 255 = 47%
G 112 of 255 = 44%
B 66 of 255 = 26%

121
112
66

R + G + B ~ 39%. #797042 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
121 + 112 + 66 = 299 (100%)
R 121 of 299 ~ 40.47%
G 112 of 299 ~ 37.46%
B 66 of 299 ~ 22.07%

%40.47
%37.46
%22.07

CMYK color model

#797042 color CMYK value is (0,7,45,53).

  • cyan value is 0.00%
  • magenta value is 7.44%
  • yellow value is 45.45%
  • key color value is 52.55%
CMYK:
(0,7,45,53)
C0M7Y45K53 
(0%,7%,45%,53%)
(0.00/0.07/0.45/0.53)	

CMYK percentages

%0
%7.44
%45.45
%52.55

Codes

Color #797042 in popluar color models

797042
RGB12111266
HSL50°29.41%36.67%
HSB/HSV50°45.45%47.45%
CMYK0.00%7.44%45.45%
52.55%

Color #797042 in popluar number systems.

HEX797042
Decimal12111266
Binary111100111100001000010
Octal171160102

Shades and tints

Shades of #797042

#797042
(121,112,66)
#6E663C
(110,102,60)
#635C36
(99,92,54)
#585230
(88,82,48)
#4D482A
(77,72,42)
#423E24
(66,62,36)
#37341E
(55,52,30)
#2C2A18
(44,42,24)
#212012
(33,32,18)
#16160C
(22,22,12)
#0B0C06
(11,12,6)
#000000
(0,0,0)

Tints of #797042

#797042
(121,112,66)
#857D53
(133,125,83)
#918A64
(145,138,100)
#9D9775
(157,151,117)
#A9A486
(169,164,134)
#B5B197
(181,177,151)
#C1BEA8
(193,190,168)
#CDCBB9
(205,203,185)
#D9D8CA
(217,216,202)
#E5E5DB
(229,229,219)
#F1F2EC
(241,242,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #797042; }

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

This text font color is #797042.


Background Color

.myBgColor { background-color: #797042; }

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

This div background color is #797042.


Border color

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

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

This div border color is #797042.


Opacity

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

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

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

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

This text has shadow with #797042 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #797042 on black background.


Color preview on white background

This text has color #797042 on white background.



Black color preview on #797042 background

This text has black color on #797042 background.


White color preview on #797042 background

This text has white color on #797042 background.