HEX: #C6A611
RGB: (198,166,17)
#C6A611 contains mainly red and green colors. Web safe color of #C6A611 is #CC9900 (or #C90).
#C6A611 color RGB value is (198,166,17).
RGB: (198,166,17) (78%,65%,7%)
R 198 of 255 = 78%
G 166 of 255 = 65%
B 17 of 255 = 7%
R + G + B ~ 50%. #C6A611 is middle color (not dark and not light).
R + G + B =
198 + 166 + 17 = 381 (100%)
R 198 of 381 ~ 51.97%
G 166 of 381 ~ 43.57%
B 17 of 381 ~ 4.46%
#C6A611 color CMYK value is (0,16,91,22).
CMYK: (0,16,91,22) C0M16Y91K22 (0%,16%,91%,22%) (0.00/0.16/0.91/0.22)
C6 | A6 | 11 | |
---|---|---|---|
RGB | 198 | 166 | 17 |
HSL | 49° | 84.19% | 42.16% |
HSB/HSV | 49° | 91.41% | 77.65% |
CMYK | 0.00% | 16.16% | 91.41% |
22.35% |
HEX | C6 | A6 | 11 |
Decimal | 198 | 166 | 17 |
Binary | 11000110 | 10100110 | 10001 |
Octal | 306 | 246 | 21 |
Examples of css and html codes for elements with #C6A611 color. Also use rgb(198,166,17) instead hex code.
.myTextColor { color: #C6A611; }
<p style="color:#C6A611">This sample text font color is #C6A611.</p>
This text font color is #C6A611.
.myBgColor { background-color: #C6A611; }
<div style="background-color:#C6A611">Inner text</div>
This div background color is #C6A611.
.myBorderColor { border: 1px solid #C6A611; }
<div style="border:3px solid #C6A611">Div</div>
This div border color is #C6A611.
.myOpacity80 { color: #C6A611; opacity: 0.8; }
<p style="color:#C6A611;opacity:0.8;">80%</p>
Text with #C6A611 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C6A611;}
<p style="text-shadow: 3px 3px 1px #C6A611">Text here.</p>
This text has shadow with #C6A611 color.
.textShadow {text-shadow: 3px 3px 1px #C6A611, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C6A611, 5px 5px 20px red">Text here.</p>
This text has shadow with #C6A611 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C6A611, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C6A611, Direction=45, Strength=4)">Text</p>
This text has shadow with #C6A611 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C6A611; -webkit-box-shadow: 1px 1px 3px 2px #C6A611; box-shadow: 1px 1px 3px 2px #C6A611; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C6A611; -webkit-box-shadow: 1px 1px 3px 2px #C6A611; box-shadow:1px 1px 3px 2px #C6A611;">
Div content here</div>
This text has color #C6A611 on black background.
This text has color #C6A611 on white background.
This text has black color on #C6A611 background.
This text has white color on #C6A611 background.