HEX: #C6B9EF
RGB: (198,185,239)
#C6B9EF contains red, green and blue colors in about the same proportion. Web safe color of #C6B9EF is #CCCCFF (or #CCF).
#C6B9EF color RGB value is (198,185,239).
RGB: (198,185,239) (78%,73%,94%)
R 198 of 255 = 78%
G 185 of 255 = 73%
B 239 of 255 = 94%
R + G + B ~ 82%. #C6B9EF is quite light color.
R + G + B =
198 + 185 + 239 = 622 (100%)
R 198 of 622 ~ 31.83%
G 185 of 622 ~ 29.74%
B 239 of 622 ~ 38.42%
#C6B9EF color CMYK value is (17,23,0,6).
CMYK: (17,23,0,6) C17M23Y0K6 (17%,23%,0%,6%) (0.17/0.23/0.00/0.06)
C6 | B9 | EF | |
---|---|---|---|
RGB | 198 | 185 | 239 |
HSL | 254° | 62.79% | 83.14% |
HSB/HSV | 254° | 22.59% | 93.73% |
CMYK | 17.15% | 22.59% | 0.00% |
6.27% |
HEX | C6 | B9 | EF |
Decimal | 198 | 185 | 239 |
Binary | 11000110 | 10111001 | 11101111 |
Octal | 306 | 271 | 357 |
Examples of css and html codes for elements with #C6B9EF color. Also use rgb(198,185,239) instead hex code.
.myTextColor { color: #C6B9EF; }
<p style="color:#C6B9EF">This sample text font color is #C6B9EF.</p>
This text font color is #C6B9EF.
.myBgColor { background-color: #C6B9EF; }
<div style="background-color:#C6B9EF">Inner text</div>
This div background color is #C6B9EF.
.myBorderColor { border: 1px solid #C6B9EF; }
<div style="border:3px solid #C6B9EF">Div</div>
This div border color is #C6B9EF.
.myOpacity80 { color: #C6B9EF; opacity: 0.8; }
<p style="color:#C6B9EF;opacity:0.8;">80%</p>
Text with #C6B9EF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C6B9EF;}
<p style="text-shadow: 3px 3px 1px #C6B9EF">Text here.</p>
This text has shadow with #C6B9EF color.
.textShadow {text-shadow: 3px 3px 1px #C6B9EF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C6B9EF, 5px 5px 20px red">Text here.</p>
This text has shadow with #C6B9EF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C6B9EF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C6B9EF, Direction=45, Strength=4)">Text</p>
This text has shadow with #C6B9EF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C6B9EF; -webkit-box-shadow: 1px 1px 3px 2px #C6B9EF; box-shadow: 1px 1px 3px 2px #C6B9EF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C6B9EF; -webkit-box-shadow: 1px 1px 3px 2px #C6B9EF; box-shadow:1px 1px 3px 2px #C6B9EF;">
Div content here</div>
This text has color #C6B9EF on black background.
This text has color #C6B9EF on white background.
This text has black color on #C6B9EF background.
This text has white color on #C6B9EF background.