HEX: #C6AFFF
RGB: (198,175,255)
#C6AFFF contains mainly red and blue colors. Web safe color of #C6AFFF is #CC99FF (or #C9F).
#C6AFFF color RGB value is (198,175,255).
RGB: (198,175,255) (78%,69%,100%)
R 198 of 255 = 78%
G 175 of 255 = 69%
B 255 of 255 = 100%
R + G + B ~ 82%. #C6AFFF is quite light color.
R + G + B =
198 + 175 + 255 = 628 (100%)
R 198 of 628 ~ 31.53%
G 175 of 628 ~ 27.87%
B 255 of 628 ~ 40.61%
#C6AFFF color CMYK value is (22,31,0,0).
CMYK: (22,31,0,0) C22M31Y0K0 (22%,31%,0%,0%) (0.22/0.31/0.00/0.00)
C6 | AF | FF | |
---|---|---|---|
RGB | 198 | 175 | 255 |
HSL | 257° | 100.00% | 84.31% |
HSB/HSV | 257° | 31.37% | 100.00% |
CMYK | 22.35% | 31.37% | 0.00% |
0.00% |
HEX | C6 | AF | FF |
Decimal | 198 | 175 | 255 |
Binary | 11000110 | 10101111 | 11111111 |
Octal | 306 | 257 | 377 |
Examples of css and html codes for elements with #C6AFFF color. Also use rgb(198,175,255) instead hex code.
.myTextColor { color: #C6AFFF; }
<p style="color:#C6AFFF">This sample text font color is #C6AFFF.</p>
This text font color is #C6AFFF.
.myBgColor { background-color: #C6AFFF; }
<div style="background-color:#C6AFFF">Inner text</div>
This div background color is #C6AFFF.
.myBorderColor { border: 1px solid #C6AFFF; }
<div style="border:3px solid #C6AFFF">Div</div>
This div border color is #C6AFFF.
.myOpacity80 { color: #C6AFFF; opacity: 0.8; }
<p style="color:#C6AFFF;opacity:0.8;">80%</p>
Text with #C6AFFF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C6AFFF;}
<p style="text-shadow: 3px 3px 1px #C6AFFF">Text here.</p>
This text has shadow with #C6AFFF color.
.textShadow {text-shadow: 3px 3px 1px #C6AFFF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C6AFFF, 5px 5px 20px red">Text here.</p>
This text has shadow with #C6AFFF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C6AFFF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C6AFFF, Direction=45, Strength=4)">Text</p>
This text has shadow with #C6AFFF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C6AFFF; -webkit-box-shadow: 1px 1px 3px 2px #C6AFFF; box-shadow: 1px 1px 3px 2px #C6AFFF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C6AFFF; -webkit-box-shadow: 1px 1px 3px 2px #C6AFFF; box-shadow:1px 1px 3px 2px #C6AFFF;">
Div content here</div>
This text has color #C6AFFF on black background.
This text has color #C6AFFF on white background.
This text has black color on #C6AFFF background.
This text has white color on #C6AFFF background.