HEX: #C6D875
RGB: (198,216,117)
#C6D875 contains mainly red and green colors. Web safe color of #C6D875 is #CCCC66 (or #CC6).
#C6D875 color RGB value is (198,216,117).
RGB: (198,216,117) (78%,85%,46%)
R 198 of 255 = 78%
G 216 of 255 = 85%
B 117 of 255 = 46%
R + G + B ~ 70%. #C6D875 is quite light color.
R + G + B =
198 + 216 + 117 = 531 (100%)
R 198 of 531 ~ 37.29%
G 216 of 531 ~ 40.68%
B 117 of 531 ~ 22.03%
#C6D875 color CMYK value is (8,0,46,15).
CMYK: (8,0,46,15) C8M0Y46K15 (8%,0%,46%,15%) (0.08/0.00/0.46/0.15)
C6 | D8 | 75 | |
---|---|---|---|
RGB | 198 | 216 | 117 |
HSL | 71° | 55.93% | 65.29% |
HSB/HSV | 71° | 45.83% | 84.71% |
CMYK | 8.33% | 0.00% | 45.83% |
15.29% |
HEX | C6 | D8 | 75 |
Decimal | 198 | 216 | 117 |
Binary | 11000110 | 11011000 | 1110101 |
Octal | 306 | 330 | 165 |
Examples of css and html codes for elements with #C6D875 color. Also use rgb(198,216,117) instead hex code.
.myTextColor { color: #C6D875; }
<p style="color:#C6D875">This sample text font color is #C6D875.</p>
This text font color is #C6D875.
.myBgColor { background-color: #C6D875; }
<div style="background-color:#C6D875">Inner text</div>
This div background color is #C6D875.
.myBorderColor { border: 1px solid #C6D875; }
<div style="border:3px solid #C6D875">Div</div>
This div border color is #C6D875.
.myOpacity80 { color: #C6D875; opacity: 0.8; }
<p style="color:#C6D875;opacity:0.8;">80%</p>
Text with #C6D875 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C6D875;}
<p style="text-shadow: 3px 3px 1px #C6D875">Text here.</p>
This text has shadow with #C6D875 color.
.textShadow {text-shadow: 3px 3px 1px #C6D875, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C6D875, 5px 5px 20px red">Text here.</p>
This text has shadow with #C6D875 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C6D875, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C6D875, Direction=45, Strength=4)">Text</p>
This text has shadow with #C6D875 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C6D875; -webkit-box-shadow: 1px 1px 3px 2px #C6D875; box-shadow: 1px 1px 3px 2px #C6D875; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C6D875; -webkit-box-shadow: 1px 1px 3px 2px #C6D875; box-shadow:1px 1px 3px 2px #C6D875;">
Div content here</div>
This text has color #C6D875 on black background.
This text has color #C6D875 on white background.
This text has black color on #C6D875 background.
This text has white color on #C6D875 background.