HEX: #C5A61E
RGB: (197,166,30)
#C5A61E contains mainly red and green colors. Web safe color of #C5A61E is #CC9933 (or #C93).
#C5A61E color RGB value is (197,166,30).
RGB: (197,166,30) (77%,65%,12%)
R 197 of 255 = 77%
G 166 of 255 = 65%
B 30 of 255 = 12%
R + G + B ~ 51%. #C5A61E is middle color (not dark and not light).
R + G + B =
197 + 166 + 30 = 393 (100%)
R 197 of 393 ~ 50.13%
G 166 of 393 ~ 42.24%
B 30 of 393 ~ 7.63%
#C5A61E color CMYK value is (0,16,85,23).
CMYK: (0,16,85,23) C0M16Y85K23 (0%,16%,85%,23%) (0.00/0.16/0.85/0.23)
C5 | A6 | 1E | |
---|---|---|---|
RGB | 197 | 166 | 30 |
HSL | 49° | 73.57% | 44.51% |
HSB/HSV | 49° | 84.77% | 77.25% |
CMYK | 0.00% | 15.74% | 84.77% |
22.75% |
HEX | C5 | A6 | 1E |
Decimal | 197 | 166 | 30 |
Binary | 11000101 | 10100110 | 11110 |
Octal | 305 | 246 | 36 |
Examples of css and html codes for elements with #C5A61E color. Also use rgb(197,166,30) instead hex code.
.myTextColor { color: #C5A61E; }
<p style="color:#C5A61E">This sample text font color is #C5A61E.</p>
This text font color is #C5A61E.
.myBgColor { background-color: #C5A61E; }
<div style="background-color:#C5A61E">Inner text</div>
This div background color is #C5A61E.
.myBorderColor { border: 1px solid #C5A61E; }
<div style="border:3px solid #C5A61E">Div</div>
This div border color is #C5A61E.
.myOpacity80 { color: #C5A61E; opacity: 0.8; }
<p style="color:#C5A61E;opacity:0.8;">80%</p>
Text with #C5A61E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C5A61E;}
<p style="text-shadow: 3px 3px 1px #C5A61E">Text here.</p>
This text has shadow with #C5A61E color.
.textShadow {text-shadow: 3px 3px 1px #C5A61E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C5A61E, 5px 5px 20px red">Text here.</p>
This text has shadow with #C5A61E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C5A61E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C5A61E, Direction=45, Strength=4)">Text</p>
This text has shadow with #C5A61E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C5A61E; -webkit-box-shadow: 1px 1px 3px 2px #C5A61E; box-shadow: 1px 1px 3px 2px #C5A61E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C5A61E; -webkit-box-shadow: 1px 1px 3px 2px #C5A61E; box-shadow:1px 1px 3px 2px #C5A61E;">
Div content here</div>
This text has color #C5A61E on black background.
This text has color #C5A61E on white background.
This text has black color on #C5A61E background.
This text has white color on #C5A61E background.