HEX: #C6A3F1
RGB: (198,163,241)
#C6A3F1 contains mainly red and blue colors. Web safe color of #C6A3F1 is #CC99FF (or #C9F).
#C6A3F1 color RGB value is (198,163,241).
RGB: (198,163,241) (78%,64%,95%)
R 198 of 255 = 78%
G 163 of 255 = 64%
B 241 of 255 = 95%
R + G + B ~ 79%. #C6A3F1 is quite light color.
R + G + B =
198 + 163 + 241 = 602 (100%)
R 198 of 602 ~ 32.89%
G 163 of 602 ~ 27.08%
B 241 of 602 ~ 40.03%
#C6A3F1 color CMYK value is (18,32,0,5).
CMYK: (18,32,0,5) C18M32Y0K5 (18%,32%,0%,5%) (0.18/0.32/0.00/0.05)
C6 | A3 | F1 | |
---|---|---|---|
RGB | 198 | 163 | 241 |
HSL | 267° | 73.58% | 79.22% |
HSB/HSV | 267° | 32.37% | 94.51% |
CMYK | 17.84% | 32.37% | 0.00% |
5.49% |
HEX | C6 | A3 | F1 |
Decimal | 198 | 163 | 241 |
Binary | 11000110 | 10100011 | 11110001 |
Octal | 306 | 243 | 361 |
Examples of css and html codes for elements with #C6A3F1 color. Also use rgb(198,163,241) instead hex code.
.myTextColor { color: #C6A3F1; }
<p style="color:#C6A3F1">This sample text font color is #C6A3F1.</p>
This text font color is #C6A3F1.
.myBgColor { background-color: #C6A3F1; }
<div style="background-color:#C6A3F1">Inner text</div>
This div background color is #C6A3F1.
.myBorderColor { border: 1px solid #C6A3F1; }
<div style="border:3px solid #C6A3F1">Div</div>
This div border color is #C6A3F1.
.myOpacity80 { color: #C6A3F1; opacity: 0.8; }
<p style="color:#C6A3F1;opacity:0.8;">80%</p>
Text with #C6A3F1 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C6A3F1;}
<p style="text-shadow: 3px 3px 1px #C6A3F1">Text here.</p>
This text has shadow with #C6A3F1 color.
.textShadow {text-shadow: 3px 3px 1px #C6A3F1, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C6A3F1, 5px 5px 20px red">Text here.</p>
This text has shadow with #C6A3F1 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C6A3F1, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C6A3F1, Direction=45, Strength=4)">Text</p>
This text has shadow with #C6A3F1 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C6A3F1; -webkit-box-shadow: 1px 1px 3px 2px #C6A3F1; box-shadow: 1px 1px 3px 2px #C6A3F1; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C6A3F1; -webkit-box-shadow: 1px 1px 3px 2px #C6A3F1; box-shadow:1px 1px 3px 2px #C6A3F1;">
Div content here</div>
This text has color #C6A3F1 on black background.
This text has color #C6A3F1 on white background.
This text has black color on #C6A3F1 background.
This text has white color on #C6A3F1 background.