COLOR #4C7D2F

HEX: #4C7D2F
RGB: (76,125,47)

Color info

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

RGB color model

#4C7D2F color RGB value is (76,125,47).

  • red value is 76;
  • green value is 125;
  • blue value is 47.
RGB:
(76,125,47)
(30%,49%,18%)

RGB channels and saturation

R 76 of 255 = 30%
G 125 of 255 = 49%
B 47 of 255 = 18%

76
125
47

R + G + B ~ 32%. #4C7D2F is quite dark color.

Portions of RGB colors in percentages

R + G + B =
76 + 125 + 47 = 248 (100%)
R 76 of 248 ~ 30.65%
G 125 of 248 ~ 50.4%
B 47 of 248 ~ 18.95%

%30.65
%50.4
%18.95

CMYK color model

#4C7D2F color CMYK value is (39,0,62,51).

  • cyan value is 39.20%
  • magenta value is 0.00%
  • yellow value is 62.40%
  • key color value is 50.98%
CMYK:
(39,0,62,51)
C39M0Y62K51 
(39%,0%,62%,51%)
(0.39/0.00/0.62/0.51)	

CMYK percentages

%39.2
%0
%62.4
%50.98

Codes

Color #4C7D2F in popluar color models

4C7D2F
RGB7612547
HSL98°45.35%33.73%
HSB/HSV98°62.40%49.02%
CMYK39.20%0.00%62.40%
50.98%

Color #4C7D2F in popluar number systems.

HEX4C7D2F
Decimal7612547
Binary10011001111101101111
Octal11417557

Shades and tints

Shades of #4C7D2F

#4C7D2F
(76,125,47)
#46722B
(70,114,43)
#406727
(64,103,39)
#3A5C23
(58,92,35)
#34511F
(52,81,31)
#2E461B
(46,70,27)
#283B17
(40,59,23)
#223013
(34,48,19)
#1C250F
(28,37,15)
#161A0B
(22,26,11)
#100F07
(16,15,7)
#000000
(0,0,0)

Tints of #4C7D2F

#4C7D2F
(76,125,47)
#5C8841
(92,136,65)
#6C9353
(108,147,83)
#7C9E65
(124,158,101)
#8CA977
(140,169,119)
#9CB489
(156,180,137)
#ACBF9B
(172,191,155)
#BCCAAD
(188,202,173)
#CCD5BF
(204,213,191)
#DCE0D1
(220,224,209)
#ECEBE3
(236,235,227)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #4C7D2F color. Also use rgb(76,125,47) instead hex code.

Text Font Color

.myTextColor { color: #4C7D2F; }

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

This text font color is #4C7D2F.


Background Color

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

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

This div background color is #4C7D2F.


Border color

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

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

This div border color is #4C7D2F.


Opacity

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

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

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

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

This text has shadow with #4C7D2F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #4C7D2F on black background.


Color preview on white background

This text has color #4C7D2F on white background.



Black color preview on #4C7D2F background

This text has black color on #4C7D2F background.


White color preview on #4C7D2F background

This text has white color on #4C7D2F background.