COLOR #7E7942

HEX: #7E7942
RGB: (126,121,66)

Color info

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

RGB color model

#7E7942 color RGB value is (126,121,66).

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

RGB channels and saturation

R 126 of 255 = 49%
G 121 of 255 = 47%
B 66 of 255 = 26%

126
121
66

R + G + B ~ 41%. #7E7942 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
126 + 121 + 66 = 313 (100%)
R 126 of 313 ~ 40.26%
G 121 of 313 ~ 38.66%
B 66 of 313 ~ 21.09%

%40.26
%38.66
%21.09

CMYK color model

#7E7942 color CMYK value is (0,4,48,51).

  • cyan value is 0.00%
  • magenta value is 3.97%
  • yellow value is 47.62%
  • key color value is 50.59%
CMYK:
(0,4,48,51)
C0M4Y48K51 
(0%,4%,48%,51%)
(0.00/0.04/0.48/0.51)	

CMYK percentages

%0
%3.97
%47.62
%50.59

Codes

Color #7E7942 in popluar color models

7E7942
RGB12612166
HSL55°31.25%37.65%
HSB/HSV55°47.62%49.41%
CMYK0.00%3.97%47.62%
50.59%

Color #7E7942 in popluar number systems.

HEX7E7942
Decimal12612166
Binary111111011110011000010
Octal176171102

Shades and tints

Shades of #7E7942

#7E7942
(126,121,66)
#736E3C
(115,110,60)
#686336
(104,99,54)
#5D5830
(93,88,48)
#524D2A
(82,77,42)
#474224
(71,66,36)
#3C371E
(60,55,30)
#312C18
(49,44,24)
#262112
(38,33,18)
#1B160C
(27,22,12)
#100B06
(16,11,6)
#000000
(0,0,0)

Tints of #7E7942

#7E7942
(126,121,66)
#898553
(137,133,83)
#949164
(148,145,100)
#9F9D75
(159,157,117)
#AAA986
(170,169,134)
#B5B597
(181,181,151)
#C0C1A8
(192,193,168)
#CBCDB9
(203,205,185)
#D6D9CA
(214,217,202)
#E1E5DB
(225,229,219)
#ECF1EC
(236,241,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #7E7942; }

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

This text font color is #7E7942.


Background Color

.myBgColor { background-color: #7E7942; }

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

This div background color is #7E7942.


Border color

.myBorderColor { border: 1px solid #7E7942; }

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

This div border color is #7E7942.


Opacity

.myOpacity80 { color: #7E7942; opacity: 0.8; }

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

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

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

This text has shadow with #7E7942 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #7E7942 on black background.


Color preview on white background

This text has color #7E7942 on white background.



Black color preview on #7E7942 background

This text has black color on #7E7942 background.


White color preview on #7E7942 background

This text has white color on #7E7942 background.