COLOR #4A5A17

HEX: #4A5A17 RGB: (74,90,23)

Color info

#4A5A17 contains mainly red and green colors. Web safe color of #4A5A17 is #336600 (or #360).

RGB color model

#4A5A17 color RGB value is (74,90,23).

RGB: (74,90,23) (29%, 35%, 9%)

RGB channels and saturation

R 74 of 255 = 29%
G 90 of 255 = 35%
B 23 of 255 = 9%

74
90
23

R + G + B ~ 24%. #4A5A17 is dark color.

Portions of RGB colors in percentages

R + G + B = 74 + 90 + 23 = 187 (100%)
R 74 of 187 ~ 39.57%
G 90 of 187 ~ 48.13%
B 23 of 187 ~ 12.3'%

%39.57
%48.13
%12.3

CMYK color model

#4A5A17 color CMYK value is (18,0,74,65).

  • cyan value is 17.78%
  • magenta value is 0.00%
  • yellow value is 74.44%
  • key color value is 64.71%

CMYK: (18,0,74,65)
C18M0Y74K65 (18%, 0%, 74%, 65%)
(0.18 / 0.00 / 0.74 / 0.65)

CMYK percentages

%17.78
%0
%74.44
%64.71

Codes

Color #4A5A17 in popluar color models

4A 5A 17
RGB 74 90 23
HSL 74° 59.29% 22.16%
HSB/HSV 74° 74.44% 35.29%
CMYK 17.78% 0.00% 74.44%
64.71%

Color #4A5A17 in popluar number systems.

HEX 4A 5A 17
Decimal 74 90 23
Binary 1001010 1011010 10111
Octal 112 132 27

Shades and tints

Shades of #4A5A17

#4A5A17
(74,90,23)
#445215
(68,82,21)
#3E4A13
(62,74,19)
#384211
(56,66,17)
#323A0F
(50,58,15)
#2C320D
(44,50,13)
#262A0B
(38,42,11)
#202209
(32,34,9)
#1A1A07
(26,26,7)
#141205
(20,18,5)
#0E0A03
(14,10,3)
#000000
(0,0,0)

Tints of #4A5A17

#4A5A17
(74,90,23)
#5A692C
(90,105,44)
#6A7841
(106,120,65)
#7A8756
(122,135,86)
#8A966B
(138,150,107)
#9AA580
(154,165,128)
#AAB495
(170,180,149)
#BAC3AA
(186,195,170)
#CAD2BF
(202,210,191)
#DAE1D4
(218,225,212)
#EAF0E9
(234,240,233)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #4A5A17 color. Also use rgb(74,90,23) instead hex code.

Text Font Color

.myTextColor { color: #4A5A17; }

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

This text font color is #4A5A17.

Background Color

.myBgColor { background-color: #4A5A17; }

<div style="background-color:#4A5A17">Inner text</div>

This div background color is #4A5A17.

Border color

.myBorderColor { border: 1px solid #4A5A17; }

<div style="border:3px solid #4A5A17">Div</div>

This div border color is #4A5A17.

Opacity

.myOpacity80 { color: #4A5A17; opacity: 0.8; }

<p style="color:#4A5A17;opacity:0.8;">80%</p>

Text with #4A5A17 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 #4A5A17;}

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

This text has shadow with #4A5A17 color.


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

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

This text has shadow with #4A5A17 primary color and red secondary color.


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

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

This text has shadow with #4A5A17 and red colors in old Internet Explorer.

Div box shadow color

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

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

This div box has shadow with color #4A5A17.

Preview

Color preview on black background

This text has color #4A5A17 on black background.


Color preview on white background

This text has color #4A5A17 on white background.


Black color preview on #4A5A17 background

This text has black color on #4A5A17 background.


White color preview on #4A5A17 background

This text has white color on #4A5A17 background.


Related colors

Complementary color

Complementary color for #hex is #B5A5E8.


I love getcolorcode.com

Triadic colors

1 #174A5A and #5A174A with #4A5A17 are triadic colors.

2 #175A4A and #5A4A17 with #4A5A17 are triadic colors.