HEX: #C6A4F0
RGB: (198,164,240)
#C6A4F0 contains mainly red and blue colors. Web safe color of #C6A4F0 is #CC99FF (or #C9F).
#C6A4F0 color RGB value is (198,164,240).
RGB: (198,164,240) (78%,64%,94%)
R 198 of 255 = 78%
G 164 of 255 = 64%
B 240 of 255 = 94%
R + G + B ~ 79%. #C6A4F0 is quite light color.
R + G + B =
198 + 164 + 240 = 602 (100%)
R 198 of 602 ~ 32.89%
G 164 of 602 ~ 27.24%
B 240 of 602 ~ 39.87%
#C6A4F0 color CMYK value is (18,32,0,6).
CMYK: (18,32,0,6) C18M32Y0K6 (18%,32%,0%,6%) (0.18/0.32/0.00/0.06)
C6 | A4 | F0 | |
---|---|---|---|
RGB | 198 | 164 | 240 |
HSL | 267° | 71.70% | 79.22% |
HSB/HSV | 267° | 31.67% | 94.12% |
CMYK | 17.50% | 31.67% | 0.00% |
5.88% |
HEX | C6 | A4 | F0 |
Decimal | 198 | 164 | 240 |
Binary | 11000110 | 10100100 | 11110000 |
Octal | 306 | 244 | 360 |
Examples of css and html codes for elements with #C6A4F0 color. Also use rgb(198,164,240) instead hex code.
.myTextColor { color: #C6A4F0; }
<p style="color:#C6A4F0">This sample text font color is #C6A4F0.</p>
This text font color is #C6A4F0.
.myBgColor { background-color: #C6A4F0; }
<div style="background-color:#C6A4F0">Inner text</div>
This div background color is #C6A4F0.
.myBorderColor { border: 1px solid #C6A4F0; }
<div style="border:3px solid #C6A4F0">Div</div>
This div border color is #C6A4F0.
.myOpacity80 { color: #C6A4F0; opacity: 0.8; }
<p style="color:#C6A4F0;opacity:0.8;">80%</p>
Text with #C6A4F0 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C6A4F0;}
<p style="text-shadow: 3px 3px 1px #C6A4F0">Text here.</p>
This text has shadow with #C6A4F0 color.
.textShadow {text-shadow: 3px 3px 1px #C6A4F0, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C6A4F0, 5px 5px 20px red">Text here.</p>
This text has shadow with #C6A4F0 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C6A4F0, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C6A4F0, Direction=45, Strength=4)">Text</p>
This text has shadow with #C6A4F0 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C6A4F0; -webkit-box-shadow: 1px 1px 3px 2px #C6A4F0; box-shadow: 1px 1px 3px 2px #C6A4F0; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C6A4F0; -webkit-box-shadow: 1px 1px 3px 2px #C6A4F0; box-shadow:1px 1px 3px 2px #C6A4F0;">
Div content here</div>
This text has color #C6A4F0 on black background.
This text has color #C6A4F0 on white background.
This text has black color on #C6A4F0 background.
This text has white color on #C6A4F0 background.