HEX: #4A742D
RGB: (74,116,45)
#4A742D contains mainly red and green colors. Web safe color of #4A742D is #336633 (or #363).
#4A742D color RGB value is (74,116,45).
RGB: (74,116,45) (29%,45%,18%)
R 74 of 255 = 29%
G 116 of 255 = 45%
B 45 of 255 = 18%
R + G + B ~ 31%. #4A742D is quite dark color.
R + G + B =
74 + 116 + 45 = 235 (100%)
R 74 of 235 ~ 31.49%
G 116 of 235 ~ 49.36%
B 45 of 235 ~ 19.15%
#4A742D color CMYK value is (36,0,61,55).
CMYK: (36,0,61,55) C36M0Y61K55 (36%,0%,61%,55%) (0.36/0.00/0.61/0.55)
4A | 74 | 2D | |
---|---|---|---|
RGB | 74 | 116 | 45 |
HSL | 95° | 44.10% | 31.57% |
HSB/HSV | 95° | 61.21% | 45.49% |
CMYK | 36.21% | 0.00% | 61.21% |
54.51% |
HEX | 4A | 74 | 2D |
Decimal | 74 | 116 | 45 |
Binary | 1001010 | 1110100 | 101101 |
Octal | 112 | 164 | 55 |
Examples of css and html codes for elements with #4A742D color. Also use rgb(74,116,45) instead hex code.
.myTextColor { color: #4A742D; }
<p style="color:#4A742D">This sample text font color is #4A742D.</p>
This text font color is #4A742D.
.myBgColor { background-color: #4A742D; }
<div style="background-color:#4A742D">Inner text</div>
This div background color is #4A742D.
.myBorderColor { border: 1px solid #4A742D; }
<div style="border:3px solid #4A742D">Div</div>
This div border color is #4A742D.
.myOpacity80 { color: #4A742D; opacity: 0.8; }
<p style="color:#4A742D;opacity:0.8;">80%</p>
Text with #4A742D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4A742D;}
<p style="text-shadow: 3px 3px 1px #4A742D">Text here.</p>
This text has shadow with #4A742D color.
.textShadow {text-shadow: 3px 3px 1px #4A742D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4A742D, 5px 5px 20px red">Text here.</p>
This text has shadow with #4A742D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4A742D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4A742D, Direction=45, Strength=4)">Text</p>
This text has shadow with #4A742D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4A742D; -webkit-box-shadow: 1px 1px 3px 2px #4A742D; box-shadow: 1px 1px 3px 2px #4A742D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4A742D; -webkit-box-shadow: 1px 1px 3px 2px #4A742D; box-shadow:1px 1px 3px 2px #4A742D;">
Div content here</div>
This text has color #4A742D on black background.
This text has color #4A742D on white background.
This text has black color on #4A742D background.
This text has white color on #4A742D background.