HEX: #C9A11A
RGB: (201,161,26)
#C9A11A contains mainly red and green colors. Web safe color of #C9A11A is #CC9900 (or #C90).
#C9A11A color RGB value is (201,161,26).
RGB: (201,161,26) (79%,63%,10%)
R 201 of 255 = 79%
G 161 of 255 = 63%
B 26 of 255 = 10%
R + G + B ~ 51%. #C9A11A is middle color (not dark and not light).
R + G + B =
201 + 161 + 26 = 388 (100%)
R 201 of 388 ~ 51.8%
G 161 of 388 ~ 41.49%
B 26 of 388 ~ 6.7%
#C9A11A color CMYK value is (0,20,87,21).
CMYK: (0,20,87,21) C0M20Y87K21 (0%,20%,87%,21%) (0.00/0.20/0.87/0.21)
C9 | A1 | 1A | |
---|---|---|---|
RGB | 201 | 161 | 26 |
HSL | 46° | 77.09% | 44.51% |
HSB/HSV | 46° | 87.06% | 78.82% |
CMYK | 0.00% | 19.90% | 87.06% |
21.18% |
HEX | C9 | A1 | 1A |
Decimal | 201 | 161 | 26 |
Binary | 11001001 | 10100001 | 11010 |
Octal | 311 | 241 | 32 |
Examples of css and html codes for elements with #C9A11A color. Also use rgb(201,161,26) instead hex code.
.myTextColor { color: #C9A11A; }
<p style="color:#C9A11A">This sample text font color is #C9A11A.</p>
This text font color is #C9A11A.
.myBgColor { background-color: #C9A11A; }
<div style="background-color:#C9A11A">Inner text</div>
This div background color is #C9A11A.
.myBorderColor { border: 1px solid #C9A11A; }
<div style="border:3px solid #C9A11A">Div</div>
This div border color is #C9A11A.
.myOpacity80 { color: #C9A11A; opacity: 0.8; }
<p style="color:#C9A11A;opacity:0.8;">80%</p>
Text with #C9A11A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C9A11A;}
<p style="text-shadow: 3px 3px 1px #C9A11A">Text here.</p>
This text has shadow with #C9A11A color.
.textShadow {text-shadow: 3px 3px 1px #C9A11A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C9A11A, 5px 5px 20px red">Text here.</p>
This text has shadow with #C9A11A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C9A11A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C9A11A, Direction=45, Strength=4)">Text</p>
This text has shadow with #C9A11A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C9A11A; -webkit-box-shadow: 1px 1px 3px 2px #C9A11A; box-shadow: 1px 1px 3px 2px #C9A11A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C9A11A; -webkit-box-shadow: 1px 1px 3px 2px #C9A11A; box-shadow:1px 1px 3px 2px #C9A11A;">
Div content here</div>
This text has color #C9A11A on black background.
This text has color #C9A11A on white background.
This text has black color on #C9A11A background.
This text has white color on #C9A11A background.