COLOR #5A740F

HEX: #5A740F
RGB: (90,116,15)

Color info

#5A740F contains mainly red and green colors. Web safe color of #5A740F is #666600 (or #660).

RGB color model

#5A740F color RGB value is (90,116,15).

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

RGB channels and saturation

R 90 of 255 = 35%
G 116 of 255 = 45%
B 15 of 255 = 6%

90
116
15

R + G + B ~ 29%. #5A740F is quite dark color.

Portions of RGB colors in percentages

R + G + B =
90 + 116 + 15 = 221 (100%)
R 90 of 221 ~ 40.72%
G 116 of 221 ~ 52.49%
B 15 of 221 ~ 6.79%

%40.72
%52.49

CMYK color model

#5A740F color CMYK value is (22,0,87,55).

  • cyan value is 22.41%
  • magenta value is 0.00%
  • yellow value is 87.07%
  • key color value is 54.51%
CMYK:
(22,0,87,55)
C22M0Y87K55 
(22%,0%,87%,55%)
(0.22/0.00/0.87/0.55)	

CMYK percentages

%22.41
%0
%87.07
%54.51

Codes

Color #5A740F in popluar color models

5A740F
RGB9011615
HSL75°77.10%25.69%
HSB/HSV75°87.07%45.49%
CMYK22.41%0.00%87.07%
54.51%

Color #5A740F in popluar number systems.

HEX5A740F
Decimal9011615
Binary101101011101001111
Octal13216417

Shades and tints

Shades of #5A740F

#5A740F
(90,116,15)
#526A0E
(82,106,14)
#4A600D
(74,96,13)
#42560C
(66,86,12)
#3A4C0B
(58,76,11)
#32420A
(50,66,10)
#2A3809
(42,56,9)
#222E08
(34,46,8)
#1A2407
(26,36,7)
#121A06
(18,26,6)
#0A1005
(10,16,5)
#000000
(0,0,0)

Tints of #5A740F

#5A740F
(90,116,15)
#698024
(105,128,36)
#788C39
(120,140,57)
#87984E
(135,152,78)
#96A463
(150,164,99)
#A5B078
(165,176,120)
#B4BC8D
(180,188,141)
#C3C8A2
(195,200,162)
#D2D4B7
(210,212,183)
#E1E0CC
(225,224,204)
#F0ECE1
(240,236,225)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A740F; }

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

This text font color is #5A740F.


Background Color

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

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

This div background color is #5A740F.


Border color

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

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

This div border color is #5A740F.


Opacity

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

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

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

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

This text has shadow with #5A740F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A740F on black background.


Color preview on white background

This text has color #5A740F on white background.



Black color preview on #5A740F background

This text has black color on #5A740F background.


White color preview on #5A740F background

This text has white color on #5A740F background.