HEX: #C8A513
RGB: (200,165,19)
#C8A513 contains mainly red and green colors. Web safe color of #C8A513 is #CC9900 (or #C90).
#C8A513 color RGB value is (200,165,19).
RGB: (200,165,19) (78%,65%,7%)
R 200 of 255 = 78%
G 165 of 255 = 65%
B 19 of 255 = 7%
R + G + B ~ 50%. #C8A513 is middle color (not dark and not light).
R + G + B =
200 + 165 + 19 = 384 (100%)
R 200 of 384 ~ 52.08%
G 165 of 384 ~ 42.97%
B 19 of 384 ~ 4.95%
#C8A513 color CMYK value is (0,18,91,22).
CMYK: (0,18,91,22) C0M18Y91K22 (0%,18%,91%,22%) (0.00/0.18/0.91/0.22)
C8 | A5 | 13 | |
---|---|---|---|
RGB | 200 | 165 | 19 |
HSL | 48° | 82.65% | 42.94% |
HSB/HSV | 48° | 90.50% | 78.43% |
CMYK | 0.00% | 17.50% | 90.50% |
21.57% |
HEX | C8 | A5 | 13 |
Decimal | 200 | 165 | 19 |
Binary | 11001000 | 10100101 | 10011 |
Octal | 310 | 245 | 23 |
Examples of css and html codes for elements with #C8A513 color. Also use rgb(200,165,19) instead hex code.
.myTextColor { color: #C8A513; }
<p style="color:#C8A513">This sample text font color is #C8A513.</p>
This text font color is #C8A513.
.myBgColor { background-color: #C8A513; }
<div style="background-color:#C8A513">Inner text</div>
This div background color is #C8A513.
.myBorderColor { border: 1px solid #C8A513; }
<div style="border:3px solid #C8A513">Div</div>
This div border color is #C8A513.
.myOpacity80 { color: #C8A513; opacity: 0.8; }
<p style="color:#C8A513;opacity:0.8;">80%</p>
Text with #C8A513 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C8A513;}
<p style="text-shadow: 3px 3px 1px #C8A513">Text here.</p>
This text has shadow with #C8A513 color.
.textShadow {text-shadow: 3px 3px 1px #C8A513, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C8A513, 5px 5px 20px red">Text here.</p>
This text has shadow with #C8A513 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C8A513, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C8A513, Direction=45, Strength=4)">Text</p>
This text has shadow with #C8A513 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C8A513; -webkit-box-shadow: 1px 1px 3px 2px #C8A513; box-shadow: 1px 1px 3px 2px #C8A513; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C8A513; -webkit-box-shadow: 1px 1px 3px 2px #C8A513; box-shadow:1px 1px 3px 2px #C8A513;">
Div content here</div>
This text has color #C8A513 on black background.
This text has color #C8A513 on white background.
This text has black color on #C8A513 background.
This text has white color on #C8A513 background.