HEX: #C6A0E6
RGB: (198,160,230)
#C6A0E6 contains mainly red and blue colors. Web safe color of #C6A0E6 is #CC99CC (or #C9C).
#C6A0E6 color RGB value is (198,160,230).
RGB: (198,160,230) (78%,63%,90%)
R 198 of 255 = 78%
G 160 of 255 = 63%
B 230 of 255 = 90%
R + G + B ~ 77%. #C6A0E6 is quite light color.
R + G + B =
198 + 160 + 230 = 588 (100%)
R 198 of 588 ~ 33.67%
G 160 of 588 ~ 27.21%
B 230 of 588 ~ 39.12%
#C6A0E6 color CMYK value is (14,30,0,10).
CMYK: (14,30,0,10) C14M30Y0K10 (14%,30%,0%,10%) (0.14/0.30/0.00/0.10)
C6 | A0 | E6 | |
---|---|---|---|
RGB | 198 | 160 | 230 |
HSL | 273° | 58.33% | 76.47% |
HSB/HSV | 273° | 30.43% | 90.20% |
CMYK | 13.91% | 30.43% | 0.00% |
9.80% |
HEX | C6 | A0 | E6 |
Decimal | 198 | 160 | 230 |
Binary | 11000110 | 10100000 | 11100110 |
Octal | 306 | 240 | 346 |
Examples of css and html codes for elements with #C6A0E6 color. Also use rgb(198,160,230) instead hex code.
.myTextColor { color: #C6A0E6; }
<p style="color:#C6A0E6">This sample text font color is #C6A0E6.</p>
This text font color is #C6A0E6.
.myBgColor { background-color: #C6A0E6; }
<div style="background-color:#C6A0E6">Inner text</div>
This div background color is #C6A0E6.
.myBorderColor { border: 1px solid #C6A0E6; }
<div style="border:3px solid #C6A0E6">Div</div>
This div border color is #C6A0E6.
.myOpacity80 { color: #C6A0E6; opacity: 0.8; }
<p style="color:#C6A0E6;opacity:0.8;">80%</p>
Text with #C6A0E6 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C6A0E6;}
<p style="text-shadow: 3px 3px 1px #C6A0E6">Text here.</p>
This text has shadow with #C6A0E6 color.
.textShadow {text-shadow: 3px 3px 1px #C6A0E6, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C6A0E6, 5px 5px 20px red">Text here.</p>
This text has shadow with #C6A0E6 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C6A0E6, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C6A0E6, Direction=45, Strength=4)">Text</p>
This text has shadow with #C6A0E6 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C6A0E6; -webkit-box-shadow: 1px 1px 3px 2px #C6A0E6; box-shadow: 1px 1px 3px 2px #C6A0E6; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C6A0E6; -webkit-box-shadow: 1px 1px 3px 2px #C6A0E6; box-shadow:1px 1px 3px 2px #C6A0E6;">
Div content here</div>
This text has color #C6A0E6 on black background.
This text has color #C6A0E6 on white background.
This text has black color on #C6A0E6 background.
This text has white color on #C6A0E6 background.