COLOR #5A7804

HEX: #5A7804 RGB: (90,120,4)

Color info

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

RGB color model

#5A7804 color RGB value is (90,120,4).

RGB: (90,120,4) (35%, 47%, 2%)

RGB channels and saturation

R 90 of 255 = 35%
G 120 of 255 = 47%
B 4 of 255 = 2%

90
120
4

R + G + B ~ 28%. #5A7804 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 90 + 120 + 4 = 214 (100%)
R 90 of 214 ~ 42.06%
G 120 of 214 ~ 56.07%
B 4 of 214 ~ 1.87'%

%42.06
%56.07

CMYK color model

#5A7804 color CMYK value is (25,0,97,53).

  • cyan value is 25.00%
  • magenta value is 0.00%
  • yellow value is 96.67%
  • key color value is 52.94%

CMYK: (25,0,97,53)
C25M0Y97K53 (25%, 0%, 97%, 53%)
(0.25 / 0.00 / 0.97 / 0.53)

CMYK percentages

%25
%0
%96.67
%52.94

Codes

Color #5A7804 in popluar color models

5A 78 04
RGB 90 120 4
HSL 76° 93.55% 24.31%
HSB/HSV 76° 96.67% 47.06%
CMYK 25.00% 0.00% 96.67%
52.94%

Color #5A7804 in popluar number systems.

HEX 5A 78 04
Decimal 90 120 4
Binary 1011010 1111000 100
Octal 132 170 4

Shades and tints

Shades of #5A7804

#5A7804
(90,120,4)
#526E04
(82,110,4)
#4A6404
(74,100,4)
#425A04
(66,90,4)
#3A5004
(58,80,4)
#324604
(50,70,4)
#2A3C04
(42,60,4)
#223204
(34,50,4)
#1A2804
(26,40,4)
#121E04
(18,30,4)
#0A1404
(10,20,4)
#000000
(0,0,0)

Tints of #5A7804

#5A7804
(90,120,4)
#69841A
(105,132,26)
#789030
(120,144,48)
#879C46
(135,156,70)
#96A85C
(150,168,92)
#A5B472
(165,180,114)
#B4C088
(180,192,136)
#C3CC9E
(195,204,158)
#D2D8B4
(210,216,180)
#E1E4CA
(225,228,202)
#F0F0E0
(240,240,224)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A7804 color. Also use rgb(90,120,4) instead hex code.

Text Font Color

.myTextColor { color: #5A7804; }

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

This text font color is #5A7804.

Background Color

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

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

This div background color is #5A7804.

Border color

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

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

This div border color is #5A7804.

Opacity

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

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

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

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

This text has shadow with #5A7804 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5A7804.

Preview

Color preview on black background

This text has color #5A7804 on black background.


Color preview on white background

This text has color #5A7804 on white background.


Black color preview on #5A7804 background

This text has black color on #5A7804 background.


White color preview on #5A7804 background

This text has white color on #5A7804 background.


Related colors

Complementary color

Complementary color for #hex is #A587FB.


I love getcolorcode.com

Triadic colors

1 #045A78 and #78045A with #5A7804 are triadic colors.

2 #04785A and #785A04 with #5A7804 are triadic colors.