COLOR #4D7B40

HEX: #4D7B40 RGB: (77,123,64)

Color info

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

RGB color model

#4D7B40 color RGB value is (77,123,64).

RGB: (77,123,64) (30%, 48%, 25%)

RGB channels and saturation

R 77 of 255 = 30%
G 123 of 255 = 48%
B 64 of 255 = 25%

77
123
64

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

Portions of RGB colors in percentages

R + G + B = 77 + 123 + 64 = 264 (100%)
R 77 of 264 ~ 29.17%
G 123 of 264 ~ 46.59%
B 64 of 264 ~ 24.24'%

%29.17
%46.59
%24.24

CMYK color model

#4D7B40 color CMYK value is (37,0,48,52).

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

CMYK: (37,0,48,52)
C37M0Y48K52 (37%, 0%, 48%, 52%)
(0.37 / 0.00 / 0.48 / 0.52)

CMYK percentages

%37.4
%0
%47.97
%51.76

Codes

Color #4D7B40 in popluar color models

4D 7B 40
RGB 77 123 64
HSL 107° 31.55% 36.67%
HSB/HSV 107° 47.97% 48.24%
CMYK 37.40% 0.00% 47.97%
51.76%

Color #4D7B40 in popluar number systems.

HEX 4D 7B 40
Decimal 77 123 64
Binary 1001101 1111011 1000000
Octal 115 173 100

Shades and tints

Shades of #4D7B40

#4D7B40
(77,123,64)
#46703B
(70,112,59)
#3F6536
(63,101,54)
#385A31
(56,90,49)
#314F2C
(49,79,44)
#2A4427
(42,68,39)
#233922
(35,57,34)
#1C2E1D
(28,46,29)
#152318
(21,35,24)
#0E1813
(14,24,19)
#070D0E
(7,13,14)
#000000
(0,0,0)

Tints of #4D7B40

#4D7B40
(77,123,64)
#5D8751
(93,135,81)
#6D9362
(109,147,98)
#7D9F73
(125,159,115)
#8DAB84
(141,171,132)
#9DB795
(157,183,149)
#ADC3A6
(173,195,166)
#BDCFB7
(189,207,183)
#CDDBC8
(205,219,200)
#DDE7D9
(221,231,217)
#EDF3EA
(237,243,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #4D7B40; }

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

This text font color is #4D7B40.

Background Color

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

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

This div background color is #4D7B40.

Border color

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

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

This div border color is #4D7B40.

Opacity

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

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

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

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

This text has shadow with #4D7B40 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #4D7B40.

Preview

Color preview on black background

This text has color #4D7B40 on black background.


Color preview on white background

This text has color #4D7B40 on white background.


Black color preview on #4D7B40 background

This text has black color on #4D7B40 background.


White color preview on #4D7B40 background

This text has white color on #4D7B40 background.


Related colors

Complementary color

Complementary color for #hex is #B284BF.


I love getcolorcode.com

Triadic colors

1 #404D7B and #7B404D with #4D7B40 are triadic colors.

2 #407B4D and #7B4D40 with #4D7B40 are triadic colors.