COLOR #5A790F

HEX: #5A790F
RGB: (90,121,15)

Color info

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

RGB color model

#5A790F color RGB value is (90,121,15).

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

RGB channels and saturation

R 90 of 255 = 35%
G 121 of 255 = 47%
B 15 of 255 = 6%

90
121
15

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

Portions of RGB colors in percentages

R + G + B =
90 + 121 + 15 = 226 (100%)
R 90 of 226 ~ 39.82%
G 121 of 226 ~ 53.54%
B 15 of 226 ~ 6.64%

%39.82
%53.54

CMYK color model

#5A790F color CMYK value is (26,0,88,53).

  • cyan value is 25.62%
  • magenta value is 0.00%
  • yellow value is 87.60%
  • key color value is 52.55%
CMYK:
(26,0,88,53)
C26M0Y88K53 
(26%,0%,88%,53%)
(0.26/0.00/0.88/0.53)	

CMYK percentages

%25.62
%0
%87.6
%52.55

Codes

Color #5A790F in popluar color models

5A790F
RGB9012115
HSL78°77.94%26.67%
HSB/HSV78°87.60%47.45%
CMYK25.62%0.00%87.60%
52.55%

Color #5A790F in popluar number systems.

HEX5A790F
Decimal9012115
Binary101101011110011111
Octal13217117

Shades and tints

Shades of #5A790F

#5A790F
(90,121,15)
#526E0E
(82,110,14)
#4A630D
(74,99,13)
#42580C
(66,88,12)
#3A4D0B
(58,77,11)
#32420A
(50,66,10)
#2A3709
(42,55,9)
#222C08
(34,44,8)
#1A2107
(26,33,7)
#121606
(18,22,6)
#0A0B05
(10,11,5)
#000000
(0,0,0)

Tints of #5A790F

#5A790F
(90,121,15)
#698524
(105,133,36)
#789139
(120,145,57)
#879D4E
(135,157,78)
#96A963
(150,169,99)
#A5B578
(165,181,120)
#B4C18D
(180,193,141)
#C3CDA2
(195,205,162)
#D2D9B7
(210,217,183)
#E1E5CC
(225,229,204)
#F0F1E1
(240,241,225)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A790F; }

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

This text font color is #5A790F.


Background Color

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

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

This div background color is #5A790F.


Border color

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

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

This div border color is #5A790F.


Opacity

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

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

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

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

This text has shadow with #5A790F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A790F on black background.


Color preview on white background

This text has color #5A790F on white background.



Black color preview on #5A790F background

This text has black color on #5A790F background.


White color preview on #5A790F background

This text has white color on #5A790F background.