COLOR #4A8138

HEX: #4A8138
RGB: (74,129,56)

Color info

#4A8138 contains mainly red and green colors. Web safe color of #4A8138 is #339933 (or #393).

RGB color model

#4A8138 color RGB value is (74,129,56).

  • red value is 74;
  • green value is 129;
  • blue value is 56.
RGB:
(74,129,56)
(29%,51%,22%)

RGB channels and saturation

R 74 of 255 = 29%
G 129 of 255 = 51%
B 56 of 255 = 22%

74
129
56

R + G + B ~ 34%. #4A8138 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
74 + 129 + 56 = 259 (100%)
R 74 of 259 ~ 28.57%
G 129 of 259 ~ 49.81%
B 56 of 259 ~ 21.62%

%28.57
%49.81
%21.62

CMYK color model

#4A8138 color CMYK value is (43,0,57,49).

  • cyan value is 42.64%
  • magenta value is 0.00%
  • yellow value is 56.59%
  • key color value is 49.41%
CMYK:
(43,0,57,49)
C43M0Y57K49 
(43%,0%,57%,49%)
(0.43/0.00/0.57/0.49)	

CMYK percentages

%42.64
%0
%56.59
%49.41

Codes

Color #4A8138 in popluar color models

4A8138
RGB7412956
HSL105°39.46%36.27%
HSB/HSV105°56.59%50.59%
CMYK42.64%0.00%56.59%
49.41%

Color #4A8138 in popluar number systems.

HEX4A8138
Decimal7412956
Binary100101010000001111000
Octal11220170

Shades and tints

Shades of #4A8138

#4A8138
(74,129,56)
#447633
(68,118,51)
#3E6B2E
(62,107,46)
#386029
(56,96,41)
#325524
(50,85,36)
#2C4A1F
(44,74,31)
#263F1A
(38,63,26)
#203415
(32,52,21)
#1A2910
(26,41,16)
#141E0B
(20,30,11)
#0E1306
(14,19,6)
#000000
(0,0,0)

Tints of #4A8138

#4A8138
(74,129,56)
#5A8C4A
(90,140,74)
#6A975C
(106,151,92)
#7AA26E
(122,162,110)
#8AAD80
(138,173,128)
#9AB892
(154,184,146)
#AAC3A4
(170,195,164)
#BACEB6
(186,206,182)
#CAD9C8
(202,217,200)
#DAE4DA
(218,228,218)
#EAEFEC
(234,239,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #4A8138 color. Also use rgb(74,129,56) instead hex code.

Text Font Color

.myTextColor { color: #4A8138; }

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

This text font color is #4A8138.


Background Color

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

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

This div background color is #4A8138.


Border color

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

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

This div border color is #4A8138.


Opacity

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

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

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

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

This text has shadow with #4A8138 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #4A8138 on black background.


Color preview on white background

This text has color #4A8138 on white background.



Black color preview on #4A8138 background

This text has black color on #4A8138 background.


White color preview on #4A8138 background

This text has white color on #4A8138 background.