HEX: #C6CC6F
RGB: (198,204,111)
#C6CC6F contains mainly red and green colors. Web safe color of #C6CC6F is #CCCC66 (or #CC6).
#C6CC6F color RGB value is (198,204,111).
RGB: (198,204,111) (78%,80%,44%)
R 198 of 255 = 78%
G 204 of 255 = 80%
B 111 of 255 = 44%
R + G + B ~ 67%. #C6CC6F is quite light color.
R + G + B =
198 + 204 + 111 = 513 (100%)
R 198 of 513 ~ 38.6%
G 204 of 513 ~ 39.77%
B 111 of 513 ~ 21.64%
#C6CC6F color CMYK value is (3,0,46,20).
CMYK: (3,0,46,20) C3M0Y46K20 (3%,0%,46%,20%) (0.03/0.00/0.46/0.20)
C6 | CC | 6F | |
---|---|---|---|
RGB | 198 | 204 | 111 |
HSL | 64° | 47.69% | 61.76% |
HSB/HSV | 64° | 45.59% | 80.00% |
CMYK | 2.94% | 0.00% | 45.59% |
20.00% |
HEX | C6 | CC | 6F |
Decimal | 198 | 204 | 111 |
Binary | 11000110 | 11001100 | 1101111 |
Octal | 306 | 314 | 157 |
Examples of css and html codes for elements with #C6CC6F color. Also use rgb(198,204,111) instead hex code.
.myTextColor { color: #C6CC6F; }
<p style="color:#C6CC6F">This sample text font color is #C6CC6F.</p>
This text font color is #C6CC6F.
.myBgColor { background-color: #C6CC6F; }
<div style="background-color:#C6CC6F">Inner text</div>
This div background color is #C6CC6F.
.myBorderColor { border: 1px solid #C6CC6F; }
<div style="border:3px solid #C6CC6F">Div</div>
This div border color is #C6CC6F.
.myOpacity80 { color: #C6CC6F; opacity: 0.8; }
<p style="color:#C6CC6F;opacity:0.8;">80%</p>
Text with #C6CC6F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C6CC6F;}
<p style="text-shadow: 3px 3px 1px #C6CC6F">Text here.</p>
This text has shadow with #C6CC6F color.
.textShadow {text-shadow: 3px 3px 1px #C6CC6F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C6CC6F, 5px 5px 20px red">Text here.</p>
This text has shadow with #C6CC6F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C6CC6F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C6CC6F, Direction=45, Strength=4)">Text</p>
This text has shadow with #C6CC6F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C6CC6F; -webkit-box-shadow: 1px 1px 3px 2px #C6CC6F; box-shadow: 1px 1px 3px 2px #C6CC6F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C6CC6F; -webkit-box-shadow: 1px 1px 3px 2px #C6CC6F; box-shadow:1px 1px 3px 2px #C6CC6F;">
Div content here</div>
This text has color #C6CC6F on black background.
This text has color #C6CC6F on white background.
This text has black color on #C6CC6F background.
This text has white color on #C6CC6F background.