HEX: #C6AE2E
RGB: (198,174,46)
#C6AE2E contains mainly red and green colors. Web safe color of #C6AE2E is #CC9933 (or #C93).
#C6AE2E color RGB value is (198,174,46).
RGB: (198,174,46) (78%,68%,18%)
R 198 of 255 = 78%
G 174 of 255 = 68%
B 46 of 255 = 18%
R + G + B ~ 55%. #C6AE2E is middle color (not dark and not light).
R + G + B =
198 + 174 + 46 = 418 (100%)
R 198 of 418 ~ 47.37%
G 174 of 418 ~ 41.63%
B 46 of 418 ~ 11%
#C6AE2E color CMYK value is (0,12,77,22).
CMYK: (0,12,77,22) C0M12Y77K22 (0%,12%,77%,22%) (0.00/0.12/0.77/0.22)
C6 | AE | 2E | |
---|---|---|---|
RGB | 198 | 174 | 46 |
HSL | 51° | 62.30% | 47.84% |
HSB/HSV | 51° | 76.77% | 77.65% |
CMYK | 0.00% | 12.12% | 76.77% |
22.35% |
HEX | C6 | AE | 2E |
Decimal | 198 | 174 | 46 |
Binary | 11000110 | 10101110 | 101110 |
Octal | 306 | 256 | 56 |
Examples of css and html codes for elements with #C6AE2E color. Also use rgb(198,174,46) instead hex code.
.myTextColor { color: #C6AE2E; }
<p style="color:#C6AE2E">This sample text font color is #C6AE2E.</p>
This text font color is #C6AE2E.
.myBgColor { background-color: #C6AE2E; }
<div style="background-color:#C6AE2E">Inner text</div>
This div background color is #C6AE2E.
.myBorderColor { border: 1px solid #C6AE2E; }
<div style="border:3px solid #C6AE2E">Div</div>
This div border color is #C6AE2E.
.myOpacity80 { color: #C6AE2E; opacity: 0.8; }
<p style="color:#C6AE2E;opacity:0.8;">80%</p>
Text with #C6AE2E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C6AE2E;}
<p style="text-shadow: 3px 3px 1px #C6AE2E">Text here.</p>
This text has shadow with #C6AE2E color.
.textShadow {text-shadow: 3px 3px 1px #C6AE2E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C6AE2E, 5px 5px 20px red">Text here.</p>
This text has shadow with #C6AE2E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C6AE2E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C6AE2E, Direction=45, Strength=4)">Text</p>
This text has shadow with #C6AE2E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C6AE2E; -webkit-box-shadow: 1px 1px 3px 2px #C6AE2E; box-shadow: 1px 1px 3px 2px #C6AE2E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C6AE2E; -webkit-box-shadow: 1px 1px 3px 2px #C6AE2E; box-shadow:1px 1px 3px 2px #C6AE2E;">
Div content here</div>
This text has color #C6AE2E on black background.
This text has color #C6AE2E on white background.
This text has black color on #C6AE2E background.
This text has white color on #C6AE2E background.