HEX: #4A724C
RGB: (74,114,76)
#4A724C contains red, green and blue colors in about the same proportion. Web safe color of #4A724C is #336633 (or #363).
#4A724C color RGB value is (74,114,76).
RGB: (74,114,76) (29%,45%,30%)
R 74 of 255 = 29%
G 114 of 255 = 45%
B 76 of 255 = 30%
R + G + B ~ 35%. #4A724C is quite dark color.
R + G + B =
74 + 114 + 76 = 264 (100%)
R 74 of 264 ~ 28.03%
G 114 of 264 ~ 43.18%
B 76 of 264 ~ 28.79%
#4A724C color CMYK value is (35,0,33,55).
CMYK: (35,0,33,55) C35M0Y33K55 (35%,0%,33%,55%) (0.35/0.00/0.33/0.55)
4A | 72 | 4C | |
---|---|---|---|
RGB | 74 | 114 | 76 |
HSL | 123° | 21.28% | 36.86% |
HSB/HSV | 123° | 35.09% | 44.71% |
CMYK | 35.09% | 0.00% | 33.33% |
55.29% |
HEX | 4A | 72 | 4C |
Decimal | 74 | 114 | 76 |
Binary | 1001010 | 1110010 | 1001100 |
Octal | 112 | 162 | 114 |
Examples of css and html codes for elements with #4A724C color. Also use rgb(74,114,76) instead hex code.
.myTextColor { color: #4A724C; }
<p style="color:#4A724C">This sample text font color is #4A724C.</p>
This text font color is #4A724C.
.myBgColor { background-color: #4A724C; }
<div style="background-color:#4A724C">Inner text</div>
This div background color is #4A724C.
.myBorderColor { border: 1px solid #4A724C; }
<div style="border:3px solid #4A724C">Div</div>
This div border color is #4A724C.
.myOpacity80 { color: #4A724C; opacity: 0.8; }
<p style="color:#4A724C;opacity:0.8;">80%</p>
Text with #4A724C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4A724C;}
<p style="text-shadow: 3px 3px 1px #4A724C">Text here.</p>
This text has shadow with #4A724C color.
.textShadow {text-shadow: 3px 3px 1px #4A724C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4A724C, 5px 5px 20px red">Text here.</p>
This text has shadow with #4A724C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4A724C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4A724C, Direction=45, Strength=4)">Text</p>
This text has shadow with #4A724C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4A724C; -webkit-box-shadow: 1px 1px 3px 2px #4A724C; box-shadow: 1px 1px 3px 2px #4A724C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4A724C; -webkit-box-shadow: 1px 1px 3px 2px #4A724C; box-shadow:1px 1px 3px 2px #4A724C;">
Div content here</div>
This text has color #4A724C on black background.
This text has color #4A724C on white background.
This text has black color on #4A724C background.
This text has white color on #4A724C background.