COLOR #797B2E

HEX: #797B2E
RGB: (121,123,46)

Color info

#797B2E contains mainly red and green colors. Web safe color of #797B2E is #666633 (or #663).

RGB color model

#797B2E color RGB value is (121,123,46).

  • red value is 121;
  • green value is 123;
  • blue value is 46.
RGB:
(121,123,46)
(47%,48%,18%)

RGB channels and saturation

R 121 of 255 = 47%
G 123 of 255 = 48%
B 46 of 255 = 18%

121
123
46

R + G + B ~ 38%. #797B2E is quite dark color.

Portions of RGB colors in percentages

R + G + B =
121 + 123 + 46 = 290 (100%)
R 121 of 290 ~ 41.72%
G 123 of 290 ~ 42.41%
B 46 of 290 ~ 15.86%

%41.72
%42.41
%15.86

CMYK color model

#797B2E color CMYK value is (2,0,63,52).

  • cyan value is 1.63%
  • magenta value is 0.00%
  • yellow value is 62.60%
  • key color value is 51.76%
CMYK:
(2,0,63,52)
C2M0Y63K52 
(2%,0%,63%,52%)
(0.02/0.00/0.63/0.52)	

CMYK percentages

%1.63
%0
%62.6
%51.76

Codes

Color #797B2E in popluar color models

797B2E
RGB12112346
HSL62°45.56%33.14%
HSB/HSV62°62.60%48.24%
CMYK1.63%0.00%62.60%
51.76%

Color #797B2E in popluar number systems.

HEX797B2E
Decimal12112346
Binary11110011111011101110
Octal17117356

Shades and tints

Shades of #797B2E

#797B2E
(121,123,46)
#6E702A
(110,112,42)
#636526
(99,101,38)
#585A22
(88,90,34)
#4D4F1E
(77,79,30)
#42441A
(66,68,26)
#373916
(55,57,22)
#2C2E12
(44,46,18)
#21230E
(33,35,14)
#16180A
(22,24,10)
#0B0D06
(11,13,6)
#000000
(0,0,0)

Tints of #797B2E

#797B2E
(121,123,46)
#858741
(133,135,65)
#919354
(145,147,84)
#9D9F67
(157,159,103)
#A9AB7A
(169,171,122)
#B5B78D
(181,183,141)
#C1C3A0
(193,195,160)
#CDCFB3
(205,207,179)
#D9DBC6
(217,219,198)
#E5E7D9
(229,231,217)
#F1F3EC
(241,243,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #797B2E color. Also use rgb(121,123,46) instead hex code.

Text Font Color

.myTextColor { color: #797B2E; }

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

This text font color is #797B2E.


Background Color

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

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

This div background color is #797B2E.


Border color

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

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

This div border color is #797B2E.


Opacity

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

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

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

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

This text has shadow with #797B2E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #797B2E on black background.


Color preview on white background

This text has color #797B2E on white background.



Black color preview on #797B2E background

This text has black color on #797B2E background.


White color preview on #797B2E background

This text has white color on #797B2E background.