COLOR #4D791C

HEX: #4D791C RGB: (77,121,28)

Color info

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

RGB color model

#4D791C color RGB value is (77,121,28).

RGB: (77,121,28) (30%, 47%, 11%)

RGB channels and saturation

R 77 of 255 = 30%
G 121 of 255 = 47%
B 28 of 255 = 11%

77
121
28

R + G + B ~ 29%. #4D791C is quite dark color.

Portions of RGB colors in percentages

R + G + B = 77 + 121 + 28 = 226 (100%)
R 77 of 226 ~ 34.07%
G 121 of 226 ~ 53.54%
B 28 of 226 ~ 12.39'%

%34.07
%53.54
%12.39

CMYK color model

#4D791C color CMYK value is (36,0,77,53).

  • cyan value is 36.36%
  • magenta value is 0.00%
  • yellow value is 76.86%
  • key color value is 52.55%
CMYK: (36,0,77,53) C36M0Y77K53 (36%,0%,77%,53%) (0.36/0.00/0.77/0.53) 

CMYK percentages

%36.36
%0
%76.86
%52.55

Codes

Color #4D791C in popluar color models

4D 79 1C
RGB 77 121 28
HSL 88° 62.42% 29.22%
HSB/HSV 88° 76.86% 47.45%
CMYK 36.36% 0.00% 76.86%
52.55%

Color #4D791C in popluar number systems.

HEX 4D 79 1C
Decimal 77 121 28
Binary 1001101 1111001 11100
Octal 115 171 34

Shades and tints

Shades of #4D791C

#4D791C
(77,121,28)
#466E1A
(70,110,26)
#3F6318
(63,99,24)
#385816
(56,88,22)
#314D14
(49,77,20)
#2A4212
(42,66,18)
#233710
(35,55,16)
#1C2C0E
(28,44,14)
#15210C
(21,33,12)
#0E160A
(14,22,10)
#070B08
(7,11,8)
#000000
(0,0,0)

Tints of #4D791C

#4D791C
(77,121,28)
#5D8530
(93,133,48)
#6D9144
(109,145,68)
#7D9D58
(125,157,88)
#8DA96C
(141,169,108)
#9DB580
(157,181,128)
#ADC194
(173,193,148)
#BDCDA8
(189,205,168)
#CDD9BC
(205,217,188)
#DDE5D0
(221,229,208)
#EDF1E4
(237,241,228)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #4D791C color. Also use rgb(77,121,28) instead hex code.

Text Font Color

.myTextColor { color: #4D791C; }

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

This text font color is #4D791C.

Background Color

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

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

This div background color is #4D791C.

Border color

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

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

This div border color is #4D791C.

Opacity

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

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

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

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

This text has shadow with #4D791C color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #4D791C.

Preview

Color preview on black background

This text has color #4D791C on black background.


Color preview on white background

This text has color #4D791C on white background.


Black color preview on #4D791C background

This text has black color on #4D791C background.


White color preview on #4D791C background

This text has white color on #4D791C background.


Related colors

Complementary color

Complementary color for #hex is #B286E3.


I love getcolorcode.com

Triadic colors

1 #1C4D79 and #791C4D with #4D791C are triadic colors.

2 #1C794D and #794D1C with #4D791C are triadic colors.