COLOR #7E9A28

HEX: #7E9A28
RGB: (126,154,40)

Color info

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

RGB color model

#7E9A28 color RGB value is (126,154,40).

  • red value is 126;
  • green value is 154;
  • blue value is 40.
RGB:
(126,154,40)
(49%,60%,16%)

RGB channels and saturation

R 126 of 255 = 49%
G 154 of 255 = 60%
B 40 of 255 = 16%

126
154
40

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

Portions of RGB colors in percentages

R + G + B =
126 + 154 + 40 = 320 (100%)
R 126 of 320 ~ 39.38%
G 154 of 320 ~ 48.13%
B 40 of 320 ~ 12.5%

%39.38
%48.13
%12.5

CMYK color model

#7E9A28 color CMYK value is (18,0,74,40).

  • cyan value is 18.18%
  • magenta value is 0.00%
  • yellow value is 74.03%
  • key color value is 39.61%
CMYK:
(18,0,74,40)
C18M0Y74K40 
(18%,0%,74%,40%)
(0.18/0.00/0.74/0.40)	

CMYK percentages

%18.18
%0
%74.03
%39.61

Codes

Color #7E9A28 in popluar color models

7E9A28
RGB12615440
HSL75°58.76%38.04%
HSB/HSV75°74.03%60.39%
CMYK18.18%0.00%74.03%
39.61%

Color #7E9A28 in popluar number systems.

HEX7E9A28
Decimal12615440
Binary111111010011010101000
Octal17623250

Shades and tints

Shades of #7E9A28

#7E9A28
(126,154,40)
#738C25
(115,140,37)
#687E22
(104,126,34)
#5D701F
(93,112,31)
#52621C
(82,98,28)
#475419
(71,84,25)
#3C4616
(60,70,22)
#313813
(49,56,19)
#262A10
(38,42,16)
#1B1C0D
(27,28,13)
#100E0A
(16,14,10)
#000000
(0,0,0)

Tints of #7E9A28

#7E9A28
(126,154,40)
#89A33B
(137,163,59)
#94AC4E
(148,172,78)
#9FB561
(159,181,97)
#AABE74
(170,190,116)
#B5C787
(181,199,135)
#C0D09A
(192,208,154)
#CBD9AD
(203,217,173)
#D6E2C0
(214,226,192)
#E1EBD3
(225,235,211)
#ECF4E6
(236,244,230)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #7E9A28 color. Also use rgb(126,154,40) instead hex code.

Text Font Color

.myTextColor { color: #7E9A28; }

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

This text font color is #7E9A28.


Background Color

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

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

This div background color is #7E9A28.


Border color

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

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

This div border color is #7E9A28.


Opacity

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

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

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

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

This text has shadow with #7E9A28 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #7E9A28 on black background.


Color preview on white background

This text has color #7E9A28 on white background.



Black color preview on #7E9A28 background

This text has black color on #7E9A28 background.


White color preview on #7E9A28 background

This text has white color on #7E9A28 background.