HEX: #C6B200
RGB: (198,178,0)
#C6B200 contains only red and green colors. Web safe color of #C6B200 is #CC9900 (or #C90).
#C6B200 color RGB value is (198,178,0).
RGB: (198,178,0) (78%,70%,0%)
R 198 of 255 = 78%
G 178 of 255 = 70%
B 0 of 255 = 0%
R + G + B ~ 49%. #C6B200 is middle color (not dark and not light).
R + G + B =
198 + 178 + 0 = 376 (100%)
R 198 of 376 ~ 52.66%
G 178 of 376 ~ 47.34%
B 0 of 376 ~ 0%
#C6B200 color CMYK value is (0,10,100,22).
CMYK: (0,10,100,22) C0M10Y100K22 (0%,10%,100%,22%) (0.00/0.10/1.00/0.22)
C6 | B2 | 00 | |
---|---|---|---|
RGB | 198 | 178 | 0 |
HSL | 54° | 100.00% | 38.82% |
HSB/HSV | 54° | 100.00% | 77.65% |
CMYK | 0.00% | 10.10% | 100.00% |
22.35% |
HEX | C6 | B2 | 00 |
Decimal | 198 | 178 | 0 |
Binary | 11000110 | 10110010 | 0 |
Octal | 306 | 262 | 0 |
Examples of css and html codes for elements with #C6B200 color. Also use rgb(198,178,0) instead hex code.
.myTextColor { color: #C6B200; }
<p style="color:#C6B200">This sample text font color is #C6B200.</p>
This text font color is #C6B200.
.myBgColor { background-color: #C6B200; }
<div style="background-color:#C6B200">Inner text</div>
This div background color is #C6B200.
.myBorderColor { border: 1px solid #C6B200; }
<div style="border:3px solid #C6B200">Div</div>
This div border color is #C6B200.
.myOpacity80 { color: #C6B200; opacity: 0.8; }
<p style="color:#C6B200;opacity:0.8;">80%</p>
Text with #C6B200 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C6B200;}
<p style="text-shadow: 3px 3px 1px #C6B200">Text here.</p>
This text has shadow with #C6B200 color.
.textShadow {text-shadow: 3px 3px 1px #C6B200, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C6B200, 5px 5px 20px red">Text here.</p>
This text has shadow with #C6B200 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C6B200, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C6B200, Direction=45, Strength=4)">Text</p>
This text has shadow with #C6B200 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C6B200; -webkit-box-shadow: 1px 1px 3px 2px #C6B200; box-shadow: 1px 1px 3px 2px #C6B200; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C6B200; -webkit-box-shadow: 1px 1px 3px 2px #C6B200; box-shadow:1px 1px 3px 2px #C6B200;">
Div content here</div>
This text has color #C6B200 on black background.
This text has color #C6B200 on white background.
This text has black color on #C6B200 background.
This text has white color on #C6B200 background.