COLOR #7E8B2C

HEX: #7E8B2C
RGB: (126,139,44)

Color info

#7E8B2C contains mainly red and green colors. Web safe color of #7E8B2C is #669933 (or #693).

RGB color model

#7E8B2C color RGB value is (126,139,44).

  • red value is 126;
  • green value is 139;
  • blue value is 44.
RGB:
(126,139,44)
(49%,55%,17%)

RGB channels and saturation

R 126 of 255 = 49%
G 139 of 255 = 55%
B 44 of 255 = 17%

126
139
44

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

Portions of RGB colors in percentages

R + G + B =
126 + 139 + 44 = 309 (100%)
R 126 of 309 ~ 40.78%
G 139 of 309 ~ 44.98%
B 44 of 309 ~ 14.24%

%40.78
%44.98
%14.24

CMYK color model

#7E8B2C color CMYK value is (9,0,68,45).

  • cyan value is 9.35%
  • magenta value is 0.00%
  • yellow value is 68.35%
  • key color value is 45.49%
CMYK:
(9,0,68,45)
C9M0Y68K45 
(9%,0%,68%,45%)
(0.09/0.00/0.68/0.45)	

CMYK percentages

%9.35
%0
%68.35
%45.49

Codes

Color #7E8B2C in popluar color models

7E8B2C
RGB12613944
HSL68°51.91%35.88%
HSB/HSV68°68.35%54.51%
CMYK9.35%0.00%68.35%
45.49%

Color #7E8B2C in popluar number systems.

HEX7E8B2C
Decimal12613944
Binary111111010001011101100
Octal17621354

Shades and tints

Shades of #7E8B2C

#7E8B2C
(126,139,44)
#737F28
(115,127,40)
#687324
(104,115,36)
#5D6720
(93,103,32)
#525B1C
(82,91,28)
#474F18
(71,79,24)
#3C4314
(60,67,20)
#313710
(49,55,16)
#262B0C
(38,43,12)
#1B1F08
(27,31,8)
#101304
(16,19,4)
#000000
(0,0,0)

Tints of #7E8B2C

#7E8B2C
(126,139,44)
#89953F
(137,149,63)
#949F52
(148,159,82)
#9FA965
(159,169,101)
#AAB378
(170,179,120)
#B5BD8B
(181,189,139)
#C0C79E
(192,199,158)
#CBD1B1
(203,209,177)
#D6DBC4
(214,219,196)
#E1E5D7
(225,229,215)
#ECEFEA
(236,239,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #7E8B2C color. Also use rgb(126,139,44) instead hex code.

Text Font Color

.myTextColor { color: #7E8B2C; }

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

This text font color is #7E8B2C.


Background Color

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

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

This div background color is #7E8B2C.


Border color

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

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

This div border color is #7E8B2C.


Opacity

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

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

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

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

This text has shadow with #7E8B2C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #7E8B2C on black background.


Color preview on white background

This text has color #7E8B2C on white background.



Black color preview on #7E8B2C background

This text has black color on #7E8B2C background.


White color preview on #7E8B2C background

This text has white color on #7E8B2C background.