COLOR #4C7B1E

HEX: #4C7B1E
RGB: (76,123,30)

Color info

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

RGB color model

#4C7B1E color RGB value is (76,123,30).

  • red value is 76;
  • green value is 123;
  • blue value is 30.
RGB:
(76,123,30)
(30%,48%,12%)

RGB channels and saturation

R 76 of 255 = 30%
G 123 of 255 = 48%
B 30 of 255 = 12%

76
123
30

R + G + B ~ 30%. #4C7B1E is quite dark color.

Portions of RGB colors in percentages

R + G + B =
76 + 123 + 30 = 229 (100%)
R 76 of 229 ~ 33.19%
G 123 of 229 ~ 53.71%
B 30 of 229 ~ 13.1%

%33.19
%53.71
%13.1

CMYK color model

#4C7B1E color CMYK value is (38,0,76,52).

  • cyan value is 38.21%
  • magenta value is 0.00%
  • yellow value is 75.61%
  • key color value is 51.76%
CMYK:
(38,0,76,52)
C38M0Y76K52 
(38%,0%,76%,52%)
(0.38/0.00/0.76/0.52)	

CMYK percentages

%38.21
%0
%75.61
%51.76

Codes

Color #4C7B1E in popluar color models

4C7B1E
RGB7612330
HSL90°60.78%30.00%
HSB/HSV90°75.61%48.24%
CMYK38.21%0.00%75.61%
51.76%

Color #4C7B1E in popluar number systems.

HEX4C7B1E
Decimal7612330
Binary1001100111101111110
Octal11417336

Shades and tints

Shades of #4C7B1E

#4C7B1E
(76,123,30)
#46701C
(70,112,28)
#40651A
(64,101,26)
#3A5A18
(58,90,24)
#344F16
(52,79,22)
#2E4414
(46,68,20)
#283912
(40,57,18)
#222E10
(34,46,16)
#1C230E
(28,35,14)
#16180C
(22,24,12)
#100D0A
(16,13,10)
#000000
(0,0,0)

Tints of #4C7B1E

#4C7B1E
(76,123,30)
#5C8732
(92,135,50)
#6C9346
(108,147,70)
#7C9F5A
(124,159,90)
#8CAB6E
(140,171,110)
#9CB782
(156,183,130)
#ACC396
(172,195,150)
#BCCFAA
(188,207,170)
#CCDBBE
(204,219,190)
#DCE7D2
(220,231,210)
#ECF3E6
(236,243,230)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #4C7B1E color. Also use rgb(76,123,30) instead hex code.

Text Font Color

.myTextColor { color: #4C7B1E; }

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

This text font color is #4C7B1E.


Background Color

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

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

This div background color is #4C7B1E.


Border color

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

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

This div border color is #4C7B1E.


Opacity

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

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

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

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

This text has shadow with #4C7B1E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #4C7B1E on black background.


Color preview on white background

This text has color #4C7B1E on white background.



Black color preview on #4C7B1E background

This text has black color on #4C7B1E background.


White color preview on #4C7B1E background

This text has white color on #4C7B1E background.