COLOR #4C7C40

HEX: #4C7C40 RGB: (76,124,64)

Color info

#4C7C40 contains mainly red and green colors. Web safe color of #4C7C40 is #336633 (or #363).

RGB color model

#4C7C40 color RGB value is (76,124,64).

RGB: (76,124,64) (30%, 49%, 25%)

RGB channels and saturation

R 76 of 255 = 30%
G 124 of 255 = 49%
B 64 of 255 = 25%

76
124
64

R + G + B ~ 35%. #4C7C40 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 76 + 124 + 64 = 264 (100%)
R 76 of 264 ~ 28.79%
G 124 of 264 ~ 46.97%
B 64 of 264 ~ 24.24'%

%28.79
%46.97
%24.24

CMYK color model

#4C7C40 color CMYK value is (39,0,48,51).

  • cyan value is 38.71%
  • magenta value is 0.00%
  • yellow value is 48.39%
  • key color value is 51.37%
CMYK: (39,0,48,51) C39M0Y48K51 (39%,0%,48%,51%) (0.39/0.00/0.48/0.51) 

CMYK percentages

%38.71
%0
%48.39
%51.37

Codes

Color #4C7C40 in popluar color models

4C 7C 40
RGB 76 124 64
HSL 108° 31.91% 36.86%
HSB/HSV 108° 48.39% 48.63%
CMYK 38.71% 0.00% 48.39%
51.37%

Color #4C7C40 in popluar number systems.

HEX 4C 7C 40
Decimal 76 124 64
Binary 1001100 1111100 1000000
Octal 114 174 100

Shades and tints

Shades of #4C7C40

#4C7C40
(76,124,64)
#46713B
(70,113,59)
#406636
(64,102,54)
#3A5B31
(58,91,49)
#34502C
(52,80,44)
#2E4527
(46,69,39)
#283A22
(40,58,34)
#222F1D
(34,47,29)
#1C2418
(28,36,24)
#161913
(22,25,19)
#100E0E
(16,14,14)
#000000
(0,0,0)

Tints of #4C7C40

#4C7C40
(76,124,64)
#5C8751
(92,135,81)
#6C9262
(108,146,98)
#7C9D73
(124,157,115)
#8CA884
(140,168,132)
#9CB395
(156,179,149)
#ACBEA6
(172,190,166)
#BCC9B7
(188,201,183)
#CCD4C8
(204,212,200)
#DCDFD9
(220,223,217)
#ECEAEA
(236,234,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #4C7C40 color. Also use rgb(76,124,64) instead hex code.

Text Font Color

.myTextColor { color: #4C7C40; }

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

This text font color is #4C7C40.

Background Color

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

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

This div background color is #4C7C40.

Border color

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

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

This div border color is #4C7C40.

Opacity

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

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

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

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

This text has shadow with #4C7C40 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #4C7C40.

Preview

Color preview on black background

This text has color #4C7C40 on black background.


Color preview on white background

This text has color #4C7C40 on white background.


Black color preview on #4C7C40 background

This text has black color on #4C7C40 background.


White color preview on #4C7C40 background

This text has white color on #4C7C40 background.


Related colors

Complementary color

Complementary color for #hex is #B383BF.


I love getcolorcode.com

Triadic colors

1 #404C7C and #7C404C with #4C7C40 are triadic colors.

2 #407C4C and #7C4C40 with #4C7C40 are triadic colors.