HEX: #C6A5EB
RGB: (198,165,235)
#C6A5EB contains mainly red and blue colors. Web safe color of #C6A5EB is #CC99FF (or #C9F).
#C6A5EB color RGB value is (198,165,235).
RGB: (198,165,235) (78%,65%,92%)
R 198 of 255 = 78%
G 165 of 255 = 65%
B 235 of 255 = 92%
R + G + B ~ 78%. #C6A5EB is quite light color.
R + G + B =
198 + 165 + 235 = 598 (100%)
R 198 of 598 ~ 33.11%
G 165 of 598 ~ 27.59%
B 235 of 598 ~ 39.3%
#C6A5EB color CMYK value is (16,30,0,8).
CMYK: (16,30,0,8) C16M30Y0K8 (16%,30%,0%,8%) (0.16/0.30/0.00/0.08)
C6 | A5 | EB | |
---|---|---|---|
RGB | 198 | 165 | 235 |
HSL | 268° | 63.64% | 78.43% |
HSB/HSV | 268° | 29.79% | 92.16% |
CMYK | 15.74% | 29.79% | 0.00% |
7.84% |
HEX | C6 | A5 | EB |
Decimal | 198 | 165 | 235 |
Binary | 11000110 | 10100101 | 11101011 |
Octal | 306 | 245 | 353 |
Examples of css and html codes for elements with #C6A5EB color. Also use rgb(198,165,235) instead hex code.
.myTextColor { color: #C6A5EB; }
<p style="color:#C6A5EB">This sample text font color is #C6A5EB.</p>
This text font color is #C6A5EB.
.myBgColor { background-color: #C6A5EB; }
<div style="background-color:#C6A5EB">Inner text</div>
This div background color is #C6A5EB.
.myBorderColor { border: 1px solid #C6A5EB; }
<div style="border:3px solid #C6A5EB">Div</div>
This div border color is #C6A5EB.
.myOpacity80 { color: #C6A5EB; opacity: 0.8; }
<p style="color:#C6A5EB;opacity:0.8;">80%</p>
Text with #C6A5EB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C6A5EB;}
<p style="text-shadow: 3px 3px 1px #C6A5EB">Text here.</p>
This text has shadow with #C6A5EB color.
.textShadow {text-shadow: 3px 3px 1px #C6A5EB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C6A5EB, 5px 5px 20px red">Text here.</p>
This text has shadow with #C6A5EB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C6A5EB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C6A5EB, Direction=45, Strength=4)">Text</p>
This text has shadow with #C6A5EB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C6A5EB; -webkit-box-shadow: 1px 1px 3px 2px #C6A5EB; box-shadow: 1px 1px 3px 2px #C6A5EB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C6A5EB; -webkit-box-shadow: 1px 1px 3px 2px #C6A5EB; box-shadow:1px 1px 3px 2px #C6A5EB;">
Div content here</div>
This text has color #C6A5EB on black background.
This text has color #C6A5EB on white background.
This text has black color on #C6A5EB background.
This text has white color on #C6A5EB background.