COLOR #5A8A0F

HEX: #5A8A0F
RGB: (90,138,15)

Color info

#5A8A0F contains mainly red and green colors. Web safe color of #5A8A0F is #669900 (or #690).

RGB color model

#5A8A0F color RGB value is (90,138,15).

  • red value is 90;
  • green value is 138;
  • blue value is 15.
RGB:
(90,138,15)
(35%,54%,6%)

RGB channels and saturation

R 90 of 255 = 35%
G 138 of 255 = 54%
B 15 of 255 = 6%

90
138
15

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

Portions of RGB colors in percentages

R + G + B =
90 + 138 + 15 = 243 (100%)
R 90 of 243 ~ 37.04%
G 138 of 243 ~ 56.79%
B 15 of 243 ~ 6.17%

%37.04
%56.79

CMYK color model

#5A8A0F color CMYK value is (35,0,89,46).

  • cyan value is 34.78%
  • magenta value is 0.00%
  • yellow value is 89.13%
  • key color value is 45.88%
CMYK:
(35,0,89,46)
C35M0Y89K46 
(35%,0%,89%,46%)
(0.35/0.00/0.89/0.46)	

CMYK percentages

%34.78
%0
%89.13
%45.88

Codes

Color #5A8A0F in popluar color models

5A8A0F
RGB9013815
HSL83°80.39%30.00%
HSB/HSV83°89.13%54.12%
CMYK34.78%0.00%89.13%
45.88%

Color #5A8A0F in popluar number systems.

HEX5A8A0F
Decimal9013815
Binary1011010100010101111
Octal13221217

Shades and tints

Shades of #5A8A0F

#5A8A0F
(90,138,15)
#527E0E
(82,126,14)
#4A720D
(74,114,13)
#42660C
(66,102,12)
#3A5A0B
(58,90,11)
#324E0A
(50,78,10)
#2A4209
(42,66,9)
#223608
(34,54,8)
#1A2A07
(26,42,7)
#121E06
(18,30,6)
#0A1205
(10,18,5)
#000000
(0,0,0)

Tints of #5A8A0F

#5A8A0F
(90,138,15)
#699424
(105,148,36)
#789E39
(120,158,57)
#87A84E
(135,168,78)
#96B263
(150,178,99)
#A5BC78
(165,188,120)
#B4C68D
(180,198,141)
#C3D0A2
(195,208,162)
#D2DAB7
(210,218,183)
#E1E4CC
(225,228,204)
#F0EEE1
(240,238,225)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A8A0F color. Also use rgb(90,138,15) instead hex code.

Text Font Color

.myTextColor { color: #5A8A0F; }

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

This text font color is #5A8A0F.


Background Color

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

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

This div background color is #5A8A0F.


Border color

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

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

This div border color is #5A8A0F.


Opacity

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

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

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

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

This text has shadow with #5A8A0F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A8A0F on black background.


Color preview on white background

This text has color #5A8A0F on white background.



Black color preview on #5A8A0F background

This text has black color on #5A8A0F background.


White color preview on #5A8A0F background

This text has white color on #5A8A0F background.