HEX: #C6F2AB
RGB: (198,242,171)
#C6F2AB contains mainly red and green colors. Web safe color of #C6F2AB is #CCFF99 (or #CF9).
#C6F2AB color RGB value is (198,242,171).
RGB: (198,242,171) (78%,95%,67%)
R 198 of 255 = 78%
G 242 of 255 = 95%
B 171 of 255 = 67%
R + G + B ~ 80%. #C6F2AB is quite light color.
R + G + B =
198 + 242 + 171 = 611 (100%)
R 198 of 611 ~ 32.41%
G 242 of 611 ~ 39.61%
B 171 of 611 ~ 27.99%
#C6F2AB color CMYK value is (18,0,29,5).
CMYK: (18,0,29,5) C18M0Y29K5 (18%,0%,29%,5%) (0.18/0.00/0.29/0.05)
C6 | F2 | AB | |
---|---|---|---|
RGB | 198 | 242 | 171 |
HSL | 97° | 73.20% | 80.98% |
HSB/HSV | 97° | 29.34% | 94.90% |
CMYK | 18.18% | 0.00% | 29.34% |
5.10% |
HEX | C6 | F2 | AB |
Decimal | 198 | 242 | 171 |
Binary | 11000110 | 11110010 | 10101011 |
Octal | 306 | 362 | 253 |
Examples of css and html codes for elements with #C6F2AB color. Also use rgb(198,242,171) instead hex code.
.myTextColor { color: #C6F2AB; }
<p style="color:#C6F2AB">This sample text font color is #C6F2AB.</p>
This text font color is #C6F2AB.
.myBgColor { background-color: #C6F2AB; }
<div style="background-color:#C6F2AB">Inner text</div>
This div background color is #C6F2AB.
.myBorderColor { border: 1px solid #C6F2AB; }
<div style="border:3px solid #C6F2AB">Div</div>
This div border color is #C6F2AB.
.myOpacity80 { color: #C6F2AB; opacity: 0.8; }
<p style="color:#C6F2AB;opacity:0.8;">80%</p>
Text with #C6F2AB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C6F2AB;}
<p style="text-shadow: 3px 3px 1px #C6F2AB">Text here.</p>
This text has shadow with #C6F2AB color.
.textShadow {text-shadow: 3px 3px 1px #C6F2AB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C6F2AB, 5px 5px 20px red">Text here.</p>
This text has shadow with #C6F2AB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C6F2AB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C6F2AB, Direction=45, Strength=4)">Text</p>
This text has shadow with #C6F2AB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C6F2AB; -webkit-box-shadow: 1px 1px 3px 2px #C6F2AB; box-shadow: 1px 1px 3px 2px #C6F2AB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C6F2AB; -webkit-box-shadow: 1px 1px 3px 2px #C6F2AB; box-shadow:1px 1px 3px 2px #C6F2AB;">
Div content here</div>
This text has color #C6F2AB on black background.
This text has color #C6F2AB on white background.
This text has black color on #C6F2AB background.
This text has white color on #C6F2AB background.