HEX: #4C794C
RGB: (76,121,76)
#4C794C contains red, green and blue colors in about the same proportion. Web safe color of #4C794C is #336633 (or #363).
#4C794C color RGB value is (76,121,76).
RGB: (76,121,76)
(30%, 47%, 30%)
R 76 of 255 = 30%
G 121 of 255 = 47%
B 76 of 255 = 30%
R + G + B ~ 36%. #4C794C is quite dark color.
R + G + B = 76 + 121 + 76 = 273 (100%)
R 76 of 273 ~ 27.84%
G 121 of 273 ~ 44.32%
B 76 of 273 ~ 27.84'%
#4C794C color CMYK value is (37,0,37,53).
CMYK: (37,0,37,53)
C37M0Y37K53 (37%, 0%, 37%, 53%)
(0.37 / 0.00 / 0.37 / 0.53)
Color #4C794C in popluar color models
4C | 79 | 4C | |
---|---|---|---|
RGB | 76 | 121 | 76 |
HSL | 120° | 22.84% | 38.63% |
HSB/HSV | 120° | 37.19% | 47.45% |
CMYK | 37.19% | 0.00% | 37.19% |
52.55% |
Color #4C794C in popluar number systems.
HEX | 4C | 79 | 4C |
Decimal | 76 | 121 | 76 |
Binary | 1001100 | 1111001 | 1001100 |
Octal | 114 | 171 | 114 |
Shades of #4C794C
Tints of #4C794C
Examples of css and html codes for elements with #4C794C color. Also use rgb(76,121,76) instead hex code.
.myTextColor { color: #4C794C; }
<p style="color:#4C794C">This sample text font color is #4C794C.</p>
This text font color is #4C794C.
.myBgColor { background-color: #4C794C; }
<div style="background-color:#4C794C">Inner text</div>
This div background color is #4C794C.
.myBorderColor { border: 1px solid #4C794C; }
<div style="border:3px solid #4C794C">Div</div>
This div border color is #4C794C.
.myOpacity80 { color: #4C794C; opacity: 0.8; }
<p style="color:#4C794C;opacity:0.8;">80%</p>
Text with #4C794C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4C794C;}
<p style="text-shadow: 3px 3px 1px #4C794C">Text here.</p>
This text has shadow with #4C794C color.
.textShadow {text-shadow: 3px 3px 1px #4C794C', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4C794C, 5px 5px 20px red">Text here.</p>
This text has shadow with #4C794C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4C794C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4C794C, Direction=45, Strength=4)">Text</p>
This text has shadow with #4C794C and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #4C794C;
-webkit-box-shadow: 1px 1px 3px 2px #4C794C;
box-shadow: 1px 1px 3px 2px #4C794C;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #4C794C; -webkit-box-shadow: 1px 1px 3px 2px #4C794C; box-shadow:1px 1px 3px 2px #4C794C;">
Div content here
</div>
This text has color #4C794C on black background.
This text has color #4C794C on white background.
This text has black color on #4C794C background.
This text has white color on #4C794C background.
Complementary color for #hex is #B386B3.