COLOR #797246

HEX: #797246 RGB: (121,114,70)

Color info

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

RGB color model

#797246 color RGB value is (121,114,70).

RGB: (121,114,70) (47%, 45%, 27%)

RGB channels and saturation

R 121 of 255 = 47%
G 114 of 255 = 45%
B 70 of 255 = 27%

121
114
70

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

Portions of RGB colors in percentages

R + G + B = 121 + 114 + 70 = 305 (100%)
R 121 of 305 ~ 39.67%
G 114 of 305 ~ 37.38%
B 70 of 305 ~ 22.95'%

%39.67
%37.38
%22.95

CMYK color model

#797246 color CMYK value is (0,6,42,53).

  • cyan value is 0.00%
  • magenta value is 5.79%
  • yellow value is 42.15%
  • key color value is 52.55%

CMYK: (0,6,42,53)
C0M6Y42K53 (0%, 6%, 42%, 53%)
(0.00 / 0.06 / 0.42 / 0.53)

CMYK percentages

%0
%5.79
%42.15
%52.55

Codes

Color #797246 in popluar color models

79 72 46
RGB 121 114 70
HSL 52° 26.70% 37.45%
HSB/HSV 52° 42.15% 47.45%
CMYK 0.00% 5.79% 42.15%
52.55%

Color #797246 in popluar number systems.

HEX 79 72 46
Decimal 121 114 70
Binary 1111001 1110010 1000110
Octal 171 162 106

Shades and tints

Shades of #797246

#797246
(121,114,70)
#6E6840
(110,104,64)
#635E3A
(99,94,58)
#585434
(88,84,52)
#4D4A2E
(77,74,46)
#424028
(66,64,40)
#373622
(55,54,34)
#2C2C1C
(44,44,28)
#212216
(33,34,22)
#161810
(22,24,16)
#0B0E0A
(11,14,10)
#000000
(0,0,0)

Tints of #797246

#797246
(121,114,70)
#857E56
(133,126,86)
#918A66
(145,138,102)
#9D9676
(157,150,118)
#A9A286
(169,162,134)
#B5AE96
(181,174,150)
#C1BAA6
(193,186,166)
#CDC6B6
(205,198,182)
#D9D2C6
(217,210,198)
#E5DED6
(229,222,214)
#F1EAE6
(241,234,230)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #797246; }

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

This text font color is #797246.

Background Color

.myBgColor { background-color: #797246; }

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

This div background color is #797246.

Border color

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

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

This div border color is #797246.

Opacity

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

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

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

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

This text has shadow with #797246 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #797246.

Preview

Color preview on black background

This text has color #797246 on black background.


Color preview on white background

This text has color #797246 on white background.


Black color preview on #797246 background

This text has black color on #797246 background.


White color preview on #797246 background

This text has white color on #797246 background.


Related colors

Complementary color

Complementary color for #hex is #868DB9.


I love getcolorcode.com

Triadic colors

1 #467972 and #724679 with #797246 are triadic colors.

2 #467279 and #727946 with #797246 are triadic colors.