COLOR #4A7B40

HEX: #4A7B40 RGB: (74,123,64)

Color info

#4A7B40 contains red, green and blue colors in about the same proportion. Web safe color of #4A7B40 is #336633 (or #363).

RGB color model

#4A7B40 color RGB value is (74,123,64).

RGB: (74,123,64) (29%, 48%, 25%)

RGB channels and saturation

R 74 of 255 = 29%
G 123 of 255 = 48%
B 64 of 255 = 25%

74
123
64

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

Portions of RGB colors in percentages

R + G + B = 74 + 123 + 64 = 261 (100%)
R 74 of 261 ~ 28.35%
G 123 of 261 ~ 47.13%
B 64 of 261 ~ 24.52'%

%28.35
%47.13
%24.52

CMYK color model

#4A7B40 color CMYK value is (40,0,48,52).

  • cyan value is 39.84%
  • magenta value is 0.00%
  • yellow value is 47.97%
  • key color value is 51.76%

CMYK: (40,0,48,52)
C40M0Y48K52 (40%, 0%, 48%, 52%)
(0.40 / 0.00 / 0.48 / 0.52)

CMYK percentages

%39.84
%0
%47.97
%51.76

Codes

Color #4A7B40 in popluar color models

4A 7B 40
RGB 74 123 64
HSL 110° 31.55% 36.67%
HSB/HSV 110° 47.97% 48.24%
CMYK 39.84% 0.00% 47.97%
51.76%

Color #4A7B40 in popluar number systems.

HEX 4A 7B 40
Decimal 74 123 64
Binary 1001010 1111011 1000000
Octal 112 173 100

Shades and tints

Shades of #4A7B40

#4A7B40
(74,123,64)
#44703B
(68,112,59)
#3E6536
(62,101,54)
#385A31
(56,90,49)
#324F2C
(50,79,44)
#2C4427
(44,68,39)
#263922
(38,57,34)
#202E1D
(32,46,29)
#1A2318
(26,35,24)
#141813
(20,24,19)
#0E0D0E
(14,13,14)
#000000
(0,0,0)

Tints of #4A7B40

#4A7B40
(74,123,64)
#5A8751
(90,135,81)
#6A9362
(106,147,98)
#7A9F73
(122,159,115)
#8AAB84
(138,171,132)
#9AB795
(154,183,149)
#AAC3A6
(170,195,166)
#BACFB7
(186,207,183)
#CADBC8
(202,219,200)
#DAE7D9
(218,231,217)
#EAF3EA
(234,243,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #4A7B40 color. Also use rgb(74,123,64) instead hex code.

Text Font Color

.myTextColor { color: #4A7B40; }

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

This text font color is #4A7B40.

Background Color

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

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

This div background color is #4A7B40.

Border color

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

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

This div border color is #4A7B40.

Opacity

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

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

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

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

This text has shadow with #4A7B40 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #4A7B40.

Preview

Color preview on black background

This text has color #4A7B40 on black background.


Color preview on white background

This text has color #4A7B40 on white background.


Black color preview on #4A7B40 background

This text has black color on #4A7B40 background.


White color preview on #4A7B40 background

This text has white color on #4A7B40 background.


Related colors

Complementary color

Complementary color for #hex is #B584BF.


I love getcolorcode.com

Triadic colors

1 #404A7B and #7B404A with #4A7B40 are triadic colors.

2 #407B4A and #7B4A40 with #4A7B40 are triadic colors.