HEX: #C4A42E
RGB: (196,164,46)
#C4A42E contains mainly red and green colors. Web safe color of #C4A42E is #CC9933 (or #C93).
#C4A42E color RGB value is (196,164,46).
RGB: (196,164,46) (77%,64%,18%)
R 196 of 255 = 77%
G 164 of 255 = 64%
B 46 of 255 = 18%
R + G + B ~ 53%. #C4A42E is middle color (not dark and not light).
R + G + B =
196 + 164 + 46 = 406 (100%)
R 196 of 406 ~ 48.28%
G 164 of 406 ~ 40.39%
B 46 of 406 ~ 11.33%
#C4A42E color CMYK value is (0,16,77,23).
CMYK: (0,16,77,23) C0M16Y77K23 (0%,16%,77%,23%) (0.00/0.16/0.77/0.23)
C4 | A4 | 2E | |
---|---|---|---|
RGB | 196 | 164 | 46 |
HSL | 47° | 61.98% | 47.45% |
HSB/HSV | 47° | 76.53% | 76.86% |
CMYK | 0.00% | 16.33% | 76.53% |
23.14% |
HEX | C4 | A4 | 2E |
Decimal | 196 | 164 | 46 |
Binary | 11000100 | 10100100 | 101110 |
Octal | 304 | 244 | 56 |
Examples of css and html codes for elements with #C4A42E color. Also use rgb(196,164,46) instead hex code.
.myTextColor { color: #C4A42E; }
<p style="color:#C4A42E">This sample text font color is #C4A42E.</p>
This text font color is #C4A42E.
.myBgColor { background-color: #C4A42E; }
<div style="background-color:#C4A42E">Inner text</div>
This div background color is #C4A42E.
.myBorderColor { border: 1px solid #C4A42E; }
<div style="border:3px solid #C4A42E">Div</div>
This div border color is #C4A42E.
.myOpacity80 { color: #C4A42E; opacity: 0.8; }
<p style="color:#C4A42E;opacity:0.8;">80%</p>
Text with #C4A42E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C4A42E;}
<p style="text-shadow: 3px 3px 1px #C4A42E">Text here.</p>
This text has shadow with #C4A42E color.
.textShadow {text-shadow: 3px 3px 1px #C4A42E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C4A42E, 5px 5px 20px red">Text here.</p>
This text has shadow with #C4A42E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C4A42E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C4A42E, Direction=45, Strength=4)">Text</p>
This text has shadow with #C4A42E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C4A42E; -webkit-box-shadow: 1px 1px 3px 2px #C4A42E; box-shadow: 1px 1px 3px 2px #C4A42E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C4A42E; -webkit-box-shadow: 1px 1px 3px 2px #C4A42E; box-shadow:1px 1px 3px 2px #C4A42E;">
Div content here</div>
This text has color #C4A42E on black background.
This text has color #C4A42E on white background.
This text has black color on #C4A42E background.
This text has white color on #C4A42E background.