HEX: #C6A317
RGB: (198,163,23)
#C6A317 contains mainly red and green colors. Web safe color of #C6A317 is #CC9900 (or #C90).
#C6A317 color RGB value is (198,163,23).
RGB: (198,163,23) (78%,64%,9%)
R 198 of 255 = 78%
G 163 of 255 = 64%
B 23 of 255 = 9%
R + G + B ~ 50%. #C6A317 is middle color (not dark and not light).
R + G + B =
198 + 163 + 23 = 384 (100%)
R 198 of 384 ~ 51.56%
G 163 of 384 ~ 42.45%
B 23 of 384 ~ 5.99%
#C6A317 color CMYK value is (0,18,88,22).
CMYK: (0,18,88,22) C0M18Y88K22 (0%,18%,88%,22%) (0.00/0.18/0.88/0.22)
C6 | A3 | 17 | |
---|---|---|---|
RGB | 198 | 163 | 23 |
HSL | 48° | 79.19% | 43.33% |
HSB/HSV | 48° | 88.38% | 77.65% |
CMYK | 0.00% | 17.68% | 88.38% |
22.35% |
HEX | C6 | A3 | 17 |
Decimal | 198 | 163 | 23 |
Binary | 11000110 | 10100011 | 10111 |
Octal | 306 | 243 | 27 |
Examples of css and html codes for elements with #C6A317 color. Also use rgb(198,163,23) instead hex code.
.myTextColor { color: #C6A317; }
<p style="color:#C6A317">This sample text font color is #C6A317.</p>
This text font color is #C6A317.
.myBgColor { background-color: #C6A317; }
<div style="background-color:#C6A317">Inner text</div>
This div background color is #C6A317.
.myBorderColor { border: 1px solid #C6A317; }
<div style="border:3px solid #C6A317">Div</div>
This div border color is #C6A317.
.myOpacity80 { color: #C6A317; opacity: 0.8; }
<p style="color:#C6A317;opacity:0.8;">80%</p>
Text with #C6A317 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C6A317;}
<p style="text-shadow: 3px 3px 1px #C6A317">Text here.</p>
This text has shadow with #C6A317 color.
.textShadow {text-shadow: 3px 3px 1px #C6A317, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C6A317, 5px 5px 20px red">Text here.</p>
This text has shadow with #C6A317 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C6A317, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C6A317, Direction=45, Strength=4)">Text</p>
This text has shadow with #C6A317 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C6A317; -webkit-box-shadow: 1px 1px 3px 2px #C6A317; box-shadow: 1px 1px 3px 2px #C6A317; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C6A317; -webkit-box-shadow: 1px 1px 3px 2px #C6A317; box-shadow:1px 1px 3px 2px #C6A317;">
Div content here</div>
This text has color #C6A317 on black background.
This text has color #C6A317 on white background.
This text has black color on #C6A317 background.
This text has white color on #C6A317 background.