COLOR #4A8A42

HEX: #4A8A42
RGB: (74,138,66)

Color info

#4A8A42 contains mainly green color. Web safe color of #4A8A42 is #339933 (or #393).

RGB color model

#4A8A42 color RGB value is (74,138,66).

  • red value is 74;
  • green value is 138;
  • blue value is 66.
RGB:
(74,138,66)
(29%,54%,26%)

RGB channels and saturation

R 74 of 255 = 29%
G 138 of 255 = 54%
B 66 of 255 = 26%

74
138
66

R + G + B ~ 36%. #4A8A42 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
74 + 138 + 66 = 278 (100%)
R 74 of 278 ~ 26.62%
G 138 of 278 ~ 49.64%
B 66 of 278 ~ 23.74%

%26.62
%49.64
%23.74

CMYK color model

#4A8A42 color CMYK value is (46,0,52,46).

  • cyan value is 46.38%
  • magenta value is 0.00%
  • yellow value is 52.17%
  • key color value is 45.88%
CMYK:
(46,0,52,46)
C46M0Y52K46 
(46%,0%,52%,46%)
(0.46/0.00/0.52/0.46)	

CMYK percentages

%46.38
%0
%52.17
%45.88

Codes

Color #4A8A42 in popluar color models

4A8A42
RGB7413866
HSL113°35.29%40.00%
HSB/HSV113°52.17%54.12%
CMYK46.38%0.00%52.17%
45.88%

Color #4A8A42 in popluar number systems.

HEX4A8A42
Decimal7413866
Binary1001010100010101000010
Octal112212102

Shades and tints

Shades of #4A8A42

#4A8A42
(74,138,66)
#447E3C
(68,126,60)
#3E7236
(62,114,54)
#386630
(56,102,48)
#325A2A
(50,90,42)
#2C4E24
(44,78,36)
#26421E
(38,66,30)
#203618
(32,54,24)
#1A2A12
(26,42,18)
#141E0C
(20,30,12)
#0E1206
(14,18,6)
#000000
(0,0,0)

Tints of #4A8A42

#4A8A42
(74,138,66)
#5A9453
(90,148,83)
#6A9E64
(106,158,100)
#7AA875
(122,168,117)
#8AB286
(138,178,134)
#9ABC97
(154,188,151)
#AAC6A8
(170,198,168)
#BAD0B9
(186,208,185)
#CADACA
(202,218,202)
#DAE4DB
(218,228,219)
#EAEEEC
(234,238,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #4A8A42 color. Also use rgb(74,138,66) instead hex code.

Text Font Color

.myTextColor { color: #4A8A42; }

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

This text font color is #4A8A42.


Background Color

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

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

This div background color is #4A8A42.


Border color

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

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

This div border color is #4A8A42.


Opacity

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

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

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

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

This text has shadow with #4A8A42 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #4A8A42 on black background.


Color preview on white background

This text has color #4A8A42 on white background.



Black color preview on #4A8A42 background

This text has black color on #4A8A42 background.


White color preview on #4A8A42 background

This text has white color on #4A8A42 background.