HEX: #4A6317
RGB: (74,99,23)
#4A6317 contains mainly red and green colors. Web safe color of #4A6317 is #336600 (or #360).
#4A6317 color RGB value is (74,99,23).
RGB: (74,99,23) (29%,39%,9%)
R 74 of 255 = 29%
G 99 of 255 = 39%
B 23 of 255 = 9%
R + G + B ~ 26%. #4A6317 is quite dark color.
R + G + B =
74 + 99 + 23 = 196 (100%)
R 74 of 196 ~ 37.76%
G 99 of 196 ~ 50.51%
B 23 of 196 ~ 11.73%
#4A6317 color CMYK value is (25,0,77,61).
CMYK: (25,0,77,61) C25M0Y77K61 (25%,0%,77%,61%) (0.25/0.00/0.77/0.61)
4A | 63 | 17 | |
---|---|---|---|
RGB | 74 | 99 | 23 |
HSL | 80° | 62.30% | 23.92% |
HSB/HSV | 80° | 76.77% | 38.82% |
CMYK | 25.25% | 0.00% | 76.77% |
61.18% |
HEX | 4A | 63 | 17 |
Decimal | 74 | 99 | 23 |
Binary | 1001010 | 1100011 | 10111 |
Octal | 112 | 143 | 27 |
Examples of css and html codes for elements with #4A6317 color. Also use rgb(74,99,23) instead hex code.
.myTextColor { color: #4A6317; }
<p style="color:#4A6317">This sample text font color is #4A6317.</p>
This text font color is #4A6317.
.myBgColor { background-color: #4A6317; }
<div style="background-color:#4A6317">Inner text</div>
This div background color is #4A6317.
.myBorderColor { border: 1px solid #4A6317; }
<div style="border:3px solid #4A6317">Div</div>
This div border color is #4A6317.
.myOpacity80 { color: #4A6317; opacity: 0.8; }
<p style="color:#4A6317;opacity:0.8;">80%</p>
Text with #4A6317 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4A6317;}
<p style="text-shadow: 3px 3px 1px #4A6317">Text here.</p>
This text has shadow with #4A6317 color.
.textShadow {text-shadow: 3px 3px 1px #4A6317, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4A6317, 5px 5px 20px red">Text here.</p>
This text has shadow with #4A6317 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4A6317, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4A6317, Direction=45, Strength=4)">Text</p>
This text has shadow with #4A6317 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4A6317; -webkit-box-shadow: 1px 1px 3px 2px #4A6317; box-shadow: 1px 1px 3px 2px #4A6317; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4A6317; -webkit-box-shadow: 1px 1px 3px 2px #4A6317; box-shadow:1px 1px 3px 2px #4A6317;">
Div content here</div>
This text has color #4A6317 on black background.
This text has color #4A6317 on white background.
This text has black color on #4A6317 background.
This text has white color on #4A6317 background.