COLOR #5A7E1E

HEX: #5A7E1E
RGB: (90,126,30)

Color info

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

RGB color model

#5A7E1E color RGB value is (90,126,30).

  • red value is 90;
  • green value is 126;
  • blue value is 30.
RGB:
(90,126,30)
(35%,49%,12%)

RGB channels and saturation

R 90 of 255 = 35%
G 126 of 255 = 49%
B 30 of 255 = 12%

90
126
30

R + G + B ~ 32%. #5A7E1E is quite dark color.

Portions of RGB colors in percentages

R + G + B =
90 + 126 + 30 = 246 (100%)
R 90 of 246 ~ 36.59%
G 126 of 246 ~ 51.22%
B 30 of 246 ~ 12.2%

%36.59
%51.22
%12.2

CMYK color model

#5A7E1E color CMYK value is (29,0,76,51).

  • cyan value is 28.57%
  • magenta value is 0.00%
  • yellow value is 76.19%
  • key color value is 50.59%
CMYK:
(29,0,76,51)
C29M0Y76K51 
(29%,0%,76%,51%)
(0.29/0.00/0.76/0.51)	

CMYK percentages

%28.57
%0
%76.19
%50.59

Codes

Color #5A7E1E in popluar color models

5A7E1E
RGB9012630
HSL83°61.54%30.59%
HSB/HSV83°76.19%49.41%
CMYK28.57%0.00%76.19%
50.59%

Color #5A7E1E in popluar number systems.

HEX5A7E1E
Decimal9012630
Binary1011010111111011110
Octal13217636

Shades and tints

Shades of #5A7E1E

#5A7E1E
(90,126,30)
#52731C
(82,115,28)
#4A681A
(74,104,26)
#425D18
(66,93,24)
#3A5216
(58,82,22)
#324714
(50,71,20)
#2A3C12
(42,60,18)
#223110
(34,49,16)
#1A260E
(26,38,14)
#121B0C
(18,27,12)
#0A100A
(10,16,10)
#000000
(0,0,0)

Tints of #5A7E1E

#5A7E1E
(90,126,30)
#698932
(105,137,50)
#789446
(120,148,70)
#879F5A
(135,159,90)
#96AA6E
(150,170,110)
#A5B582
(165,181,130)
#B4C096
(180,192,150)
#C3CBAA
(195,203,170)
#D2D6BE
(210,214,190)
#E1E1D2
(225,225,210)
#F0ECE6
(240,236,230)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A7E1E color. Also use rgb(90,126,30) instead hex code.

Text Font Color

.myTextColor { color: #5A7E1E; }

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

This text font color is #5A7E1E.


Background Color

.myBgColor { background-color: #5A7E1E; }

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

This div background color is #5A7E1E.


Border color

.myBorderColor { border: 1px solid #5A7E1E; }

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

This div border color is #5A7E1E.


Opacity

.myOpacity80 { color: #5A7E1E; opacity: 0.8; }

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

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

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

This text has shadow with #5A7E1E color.

.textShadow {text-shadow: 3px 3px 1px #5A7E1E, 3px 3px 1px red;}

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A7E1E on black background.


Color preview on white background

This text has color #5A7E1E on white background.



Black color preview on #5A7E1E background

This text has black color on #5A7E1E background.


White color preview on #5A7E1E background

This text has white color on #5A7E1E background.