HEX: #C8A62F
RGB: (200,166,47)
#C8A62F contains mainly red and green colors. Web safe color of #C8A62F is #CC9933 (or #C93).
#C8A62F color RGB value is (200,166,47).
RGB: (200,166,47) (78%,65%,18%)
R 200 of 255 = 78%
G 166 of 255 = 65%
B 47 of 255 = 18%
R + G + B ~ 54%. #C8A62F is middle color (not dark and not light).
R + G + B =
200 + 166 + 47 = 413 (100%)
R 200 of 413 ~ 48.43%
G 166 of 413 ~ 40.19%
B 47 of 413 ~ 11.38%
#C8A62F color CMYK value is (0,17,77,22).
CMYK: (0,17,77,22) C0M17Y77K22 (0%,17%,77%,22%) (0.00/0.17/0.77/0.22)
C8 | A6 | 2F | |
---|---|---|---|
RGB | 200 | 166 | 47 |
HSL | 47° | 61.94% | 48.43% |
HSB/HSV | 47° | 76.50% | 78.43% |
CMYK | 0.00% | 17.00% | 76.50% |
21.57% |
HEX | C8 | A6 | 2F |
Decimal | 200 | 166 | 47 |
Binary | 11001000 | 10100110 | 101111 |
Octal | 310 | 246 | 57 |
Examples of css and html codes for elements with #C8A62F color. Also use rgb(200,166,47) instead hex code.
.myTextColor { color: #C8A62F; }
<p style="color:#C8A62F">This sample text font color is #C8A62F.</p>
This text font color is #C8A62F.
.myBgColor { background-color: #C8A62F; }
<div style="background-color:#C8A62F">Inner text</div>
This div background color is #C8A62F.
.myBorderColor { border: 1px solid #C8A62F; }
<div style="border:3px solid #C8A62F">Div</div>
This div border color is #C8A62F.
.myOpacity80 { color: #C8A62F; opacity: 0.8; }
<p style="color:#C8A62F;opacity:0.8;">80%</p>
Text with #C8A62F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C8A62F;}
<p style="text-shadow: 3px 3px 1px #C8A62F">Text here.</p>
This text has shadow with #C8A62F color.
.textShadow {text-shadow: 3px 3px 1px #C8A62F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C8A62F, 5px 5px 20px red">Text here.</p>
This text has shadow with #C8A62F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C8A62F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C8A62F, Direction=45, Strength=4)">Text</p>
This text has shadow with #C8A62F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C8A62F; -webkit-box-shadow: 1px 1px 3px 2px #C8A62F; box-shadow: 1px 1px 3px 2px #C8A62F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C8A62F; -webkit-box-shadow: 1px 1px 3px 2px #C8A62F; box-shadow:1px 1px 3px 2px #C8A62F;">
Div content here</div>
This text has color #C8A62F on black background.
This text has color #C8A62F on white background.
This text has black color on #C8A62F background.
This text has white color on #C8A62F background.