HEX: #C5A40F
RGB: (197,164,15)
#C5A40F contains mainly red and green colors. Web safe color of #C5A40F is #CC9900 (or #C90).
#C5A40F color RGB value is (197,164,15).
RGB: (197,164,15) (77%,64%,6%)
R 197 of 255 = 77%
G 164 of 255 = 64%
B 15 of 255 = 6%
R + G + B ~ 49%. #C5A40F is middle color (not dark and not light).
R + G + B =
197 + 164 + 15 = 376 (100%)
R 197 of 376 ~ 52.39%
G 164 of 376 ~ 43.62%
B 15 of 376 ~ 3.99%
#C5A40F color CMYK value is (0,17,92,23).
CMYK: (0,17,92,23) C0M17Y92K23 (0%,17%,92%,23%) (0.00/0.17/0.92/0.23)
C5 | A4 | 0F | |
---|---|---|---|
RGB | 197 | 164 | 15 |
HSL | 49° | 85.85% | 41.57% |
HSB/HSV | 49° | 92.39% | 77.25% |
CMYK | 0.00% | 16.75% | 92.39% |
22.75% |
HEX | C5 | A4 | 0F |
Decimal | 197 | 164 | 15 |
Binary | 11000101 | 10100100 | 1111 |
Octal | 305 | 244 | 17 |
Examples of css and html codes for elements with #C5A40F color. Also use rgb(197,164,15) instead hex code.
.myTextColor { color: #C5A40F; }
<p style="color:#C5A40F">This sample text font color is #C5A40F.</p>
This text font color is #C5A40F.
.myBgColor { background-color: #C5A40F; }
<div style="background-color:#C5A40F">Inner text</div>
This div background color is #C5A40F.
.myBorderColor { border: 1px solid #C5A40F; }
<div style="border:3px solid #C5A40F">Div</div>
This div border color is #C5A40F.
.myOpacity80 { color: #C5A40F; opacity: 0.8; }
<p style="color:#C5A40F;opacity:0.8;">80%</p>
Text with #C5A40F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C5A40F;}
<p style="text-shadow: 3px 3px 1px #C5A40F">Text here.</p>
This text has shadow with #C5A40F color.
.textShadow {text-shadow: 3px 3px 1px #C5A40F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C5A40F, 5px 5px 20px red">Text here.</p>
This text has shadow with #C5A40F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C5A40F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C5A40F, Direction=45, Strength=4)">Text</p>
This text has shadow with #C5A40F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C5A40F; -webkit-box-shadow: 1px 1px 3px 2px #C5A40F; box-shadow: 1px 1px 3px 2px #C5A40F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C5A40F; -webkit-box-shadow: 1px 1px 3px 2px #C5A40F; box-shadow:1px 1px 3px 2px #C5A40F;">
Div content here</div>
This text has color #C5A40F on black background.
This text has color #C5A40F on white background.
This text has black color on #C5A40F background.
This text has white color on #C5A40F background.