HEX: #C6D7AB
RGB: (198,215,171)
#C6D7AB contains red, green and blue colors in about the same proportion. Web safe color of #C6D7AB is #CCCC99 (or #CC9).
#C6D7AB color RGB value is (198,215,171).
RGB: (198,215,171) (78%,84%,67%)
R 198 of 255 = 78%
G 215 of 255 = 84%
B 171 of 255 = 67%
R + G + B ~ 76%. #C6D7AB is quite light color.
R + G + B =
198 + 215 + 171 = 584 (100%)
R 198 of 584 ~ 33.9%
G 215 of 584 ~ 36.82%
B 171 of 584 ~ 29.28%
#C6D7AB color CMYK value is (8,0,20,16).
CMYK: (8,0,20,16) C8M0Y20K16 (8%,0%,20%,16%) (0.08/0.00/0.20/0.16)
C6 | D7 | AB | |
---|---|---|---|
RGB | 198 | 215 | 171 |
HSL | 83° | 35.48% | 75.69% |
HSB/HSV | 83° | 20.47% | 84.31% |
CMYK | 7.91% | 0.00% | 20.47% |
15.69% |
HEX | C6 | D7 | AB |
Decimal | 198 | 215 | 171 |
Binary | 11000110 | 11010111 | 10101011 |
Octal | 306 | 327 | 253 |
Examples of css and html codes for elements with #C6D7AB color. Also use rgb(198,215,171) instead hex code.
.myTextColor { color: #C6D7AB; }
<p style="color:#C6D7AB">This sample text font color is #C6D7AB.</p>
This text font color is #C6D7AB.
.myBgColor { background-color: #C6D7AB; }
<div style="background-color:#C6D7AB">Inner text</div>
This div background color is #C6D7AB.
.myBorderColor { border: 1px solid #C6D7AB; }
<div style="border:3px solid #C6D7AB">Div</div>
This div border color is #C6D7AB.
.myOpacity80 { color: #C6D7AB; opacity: 0.8; }
<p style="color:#C6D7AB;opacity:0.8;">80%</p>
Text with #C6D7AB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C6D7AB;}
<p style="text-shadow: 3px 3px 1px #C6D7AB">Text here.</p>
This text has shadow with #C6D7AB color.
.textShadow {text-shadow: 3px 3px 1px #C6D7AB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C6D7AB, 5px 5px 20px red">Text here.</p>
This text has shadow with #C6D7AB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C6D7AB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C6D7AB, Direction=45, Strength=4)">Text</p>
This text has shadow with #C6D7AB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C6D7AB; -webkit-box-shadow: 1px 1px 3px 2px #C6D7AB; box-shadow: 1px 1px 3px 2px #C6D7AB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C6D7AB; -webkit-box-shadow: 1px 1px 3px 2px #C6D7AB; box-shadow:1px 1px 3px 2px #C6D7AB;">
Div content here</div>
This text has color #C6D7AB on black background.
This text has color #C6D7AB on white background.
This text has black color on #C6D7AB background.
This text has white color on #C6D7AB background.