HEX: #C6B2F7
RGB: (198,178,247)
#C6B2F7 contains mainly red and blue colors. Web safe color of #C6B2F7 is #CC99FF (or #C9F).
#C6B2F7 color RGB value is (198,178,247).
RGB: (198,178,247) (78%,70%,97%)
R 198 of 255 = 78%
G 178 of 255 = 70%
B 247 of 255 = 97%
R + G + B ~ 82%. #C6B2F7 is quite light color.
R + G + B =
198 + 178 + 247 = 623 (100%)
R 198 of 623 ~ 31.78%
G 178 of 623 ~ 28.57%
B 247 of 623 ~ 39.65%
#C6B2F7 color CMYK value is (20,28,0,3).
CMYK: (20,28,0,3) C20M28Y0K3 (20%,28%,0%,3%) (0.20/0.28/0.00/0.03)
C6 | B2 | F7 | |
---|---|---|---|
RGB | 198 | 178 | 247 |
HSL | 257° | 81.18% | 83.33% |
HSB/HSV | 257° | 27.94% | 96.86% |
CMYK | 19.84% | 27.94% | 0.00% |
3.14% |
HEX | C6 | B2 | F7 |
Decimal | 198 | 178 | 247 |
Binary | 11000110 | 10110010 | 11110111 |
Octal | 306 | 262 | 367 |
Examples of css and html codes for elements with #C6B2F7 color. Also use rgb(198,178,247) instead hex code.
.myTextColor { color: #C6B2F7; }
<p style="color:#C6B2F7">This sample text font color is #C6B2F7.</p>
This text font color is #C6B2F7.
.myBgColor { background-color: #C6B2F7; }
<div style="background-color:#C6B2F7">Inner text</div>
This div background color is #C6B2F7.
.myBorderColor { border: 1px solid #C6B2F7; }
<div style="border:3px solid #C6B2F7">Div</div>
This div border color is #C6B2F7.
.myOpacity80 { color: #C6B2F7; opacity: 0.8; }
<p style="color:#C6B2F7;opacity:0.8;">80%</p>
Text with #C6B2F7 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C6B2F7;}
<p style="text-shadow: 3px 3px 1px #C6B2F7">Text here.</p>
This text has shadow with #C6B2F7 color.
.textShadow {text-shadow: 3px 3px 1px #C6B2F7, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C6B2F7, 5px 5px 20px red">Text here.</p>
This text has shadow with #C6B2F7 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C6B2F7, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C6B2F7, Direction=45, Strength=4)">Text</p>
This text has shadow with #C6B2F7 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C6B2F7; -webkit-box-shadow: 1px 1px 3px 2px #C6B2F7; box-shadow: 1px 1px 3px 2px #C6B2F7; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C6B2F7; -webkit-box-shadow: 1px 1px 3px 2px #C6B2F7; box-shadow:1px 1px 3px 2px #C6B2F7;">
Div content here</div>
This text has color #C6B2F7 on black background.
This text has color #C6B2F7 on white background.
This text has black color on #C6B2F7 background.
This text has white color on #C6B2F7 background.