HEX: #4A794D
RGB: (74,121,77)
#4A794D contains red, green and blue colors in about the same proportion. Web safe color of #4A794D is #336633 (or #363).
#4A794D color RGB value is (74,121,77).
RGB: (74,121,77) (29%,47%,30%)
R 74 of 255 = 29%
G 121 of 255 = 47%
B 77 of 255 = 30%
R + G + B ~ 35%. #4A794D is quite dark color.
R + G + B =
74 + 121 + 77 = 272 (100%)
R 74 of 272 ~ 27.21%
G 121 of 272 ~ 44.49%
B 77 of 272 ~ 28.31%
#4A794D color CMYK value is (39,0,36,53).
CMYK: (39,0,36,53) C39M0Y36K53 (39%,0%,36%,53%) (0.39/0.00/0.36/0.53)
4A | 79 | 4D | |
---|---|---|---|
RGB | 74 | 121 | 77 |
HSL | 124° | 24.10% | 38.24% |
HSB/HSV | 124° | 38.84% | 47.45% |
CMYK | 38.84% | 0.00% | 36.36% |
52.55% |
HEX | 4A | 79 | 4D |
Decimal | 74 | 121 | 77 |
Binary | 1001010 | 1111001 | 1001101 |
Octal | 112 | 171 | 115 |
Examples of css and html codes for elements with #4A794D color. Also use rgb(74,121,77) instead hex code.
.myTextColor { color: #4A794D; }
<p style="color:#4A794D">This sample text font color is #4A794D.</p>
This text font color is #4A794D.
.myBgColor { background-color: #4A794D; }
<div style="background-color:#4A794D">Inner text</div>
This div background color is #4A794D.
.myBorderColor { border: 1px solid #4A794D; }
<div style="border:3px solid #4A794D">Div</div>
This div border color is #4A794D.
.myOpacity80 { color: #4A794D; opacity: 0.8; }
<p style="color:#4A794D;opacity:0.8;">80%</p>
Text with #4A794D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4A794D;}
<p style="text-shadow: 3px 3px 1px #4A794D">Text here.</p>
This text has shadow with #4A794D color.
.textShadow {text-shadow: 3px 3px 1px #4A794D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4A794D, 5px 5px 20px red">Text here.</p>
This text has shadow with #4A794D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4A794D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4A794D, Direction=45, Strength=4)">Text</p>
This text has shadow with #4A794D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4A794D; -webkit-box-shadow: 1px 1px 3px 2px #4A794D; box-shadow: 1px 1px 3px 2px #4A794D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4A794D; -webkit-box-shadow: 1px 1px 3px 2px #4A794D; box-shadow:1px 1px 3px 2px #4A794D;">
Div content here</div>
This text has color #4A794D on black background.
This text has color #4A794D on white background.
This text has black color on #4A794D background.
This text has white color on #4A794D background.