HEX: #C6A1F2
RGB: (198,161,242)
#C6A1F2 contains mainly red and blue colors. Web safe color of #C6A1F2 is #CC99FF (or #C9F).
#C6A1F2 color RGB value is (198,161,242).
RGB: (198,161,242) (78%,63%,95%)
R 198 of 255 = 78%
G 161 of 255 = 63%
B 242 of 255 = 95%
R + G + B ~ 79%. #C6A1F2 is quite light color.
R + G + B =
198 + 161 + 242 = 601 (100%)
R 198 of 601 ~ 32.95%
G 161 of 601 ~ 26.79%
B 242 of 601 ~ 40.27%
#C6A1F2 color CMYK value is (18,33,0,5).
CMYK: (18,33,0,5) C18M33Y0K5 (18%,33%,0%,5%) (0.18/0.33/0.00/0.05)
C6 | A1 | F2 | |
---|---|---|---|
RGB | 198 | 161 | 242 |
HSL | 267° | 75.70% | 79.02% |
HSB/HSV | 267° | 33.47% | 94.90% |
CMYK | 18.18% | 33.47% | 0.00% |
5.10% |
HEX | C6 | A1 | F2 |
Decimal | 198 | 161 | 242 |
Binary | 11000110 | 10100001 | 11110010 |
Octal | 306 | 241 | 362 |
Examples of css and html codes for elements with #C6A1F2 color. Also use rgb(198,161,242) instead hex code.
.myTextColor { color: #C6A1F2; }
<p style="color:#C6A1F2">This sample text font color is #C6A1F2.</p>
This text font color is #C6A1F2.
.myBgColor { background-color: #C6A1F2; }
<div style="background-color:#C6A1F2">Inner text</div>
This div background color is #C6A1F2.
.myBorderColor { border: 1px solid #C6A1F2; }
<div style="border:3px solid #C6A1F2">Div</div>
This div border color is #C6A1F2.
.myOpacity80 { color: #C6A1F2; opacity: 0.8; }
<p style="color:#C6A1F2;opacity:0.8;">80%</p>
Text with #C6A1F2 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C6A1F2;}
<p style="text-shadow: 3px 3px 1px #C6A1F2">Text here.</p>
This text has shadow with #C6A1F2 color.
.textShadow {text-shadow: 3px 3px 1px #C6A1F2, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C6A1F2, 5px 5px 20px red">Text here.</p>
This text has shadow with #C6A1F2 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C6A1F2, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C6A1F2, Direction=45, Strength=4)">Text</p>
This text has shadow with #C6A1F2 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C6A1F2; -webkit-box-shadow: 1px 1px 3px 2px #C6A1F2; box-shadow: 1px 1px 3px 2px #C6A1F2; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C6A1F2; -webkit-box-shadow: 1px 1px 3px 2px #C6A1F2; box-shadow:1px 1px 3px 2px #C6A1F2;">
Div content here</div>
This text has color #C6A1F2 on black background.
This text has color #C6A1F2 on white background.
This text has black color on #C6A1F2 background.
This text has white color on #C6A1F2 background.