HEX: #C5A6DF
RGB: (197,166,223)
#C5A6DF contains red, green and blue colors in about the same proportion. Web safe color of #C5A6DF is #CC99CC (or #C9C).
#C5A6DF color RGB value is (197,166,223).
RGB: (197,166,223) (77%,65%,87%)
R 197 of 255 = 77%
G 166 of 255 = 65%
B 223 of 255 = 87%
R + G + B ~ 76%. #C5A6DF is quite light color.
R + G + B =
197 + 166 + 223 = 586 (100%)
R 197 of 586 ~ 33.62%
G 166 of 586 ~ 28.33%
B 223 of 586 ~ 38.05%
#C5A6DF color CMYK value is (12,26,0,13).
CMYK: (12,26,0,13) C12M26Y0K13 (12%,26%,0%,13%) (0.12/0.26/0.00/0.13)
C5 | A6 | DF | |
---|---|---|---|
RGB | 197 | 166 | 223 |
HSL | 273° | 47.11% | 76.27% |
HSB/HSV | 273° | 25.56% | 87.45% |
CMYK | 11.66% | 25.56% | 0.00% |
12.55% |
HEX | C5 | A6 | DF |
Decimal | 197 | 166 | 223 |
Binary | 11000101 | 10100110 | 11011111 |
Octal | 305 | 246 | 337 |
Examples of css and html codes for elements with #C5A6DF color. Also use rgb(197,166,223) instead hex code.
.myTextColor { color: #C5A6DF; }
<p style="color:#C5A6DF">This sample text font color is #C5A6DF.</p>
This text font color is #C5A6DF.
.myBgColor { background-color: #C5A6DF; }
<div style="background-color:#C5A6DF">Inner text</div>
This div background color is #C5A6DF.
.myBorderColor { border: 1px solid #C5A6DF; }
<div style="border:3px solid #C5A6DF">Div</div>
This div border color is #C5A6DF.
.myOpacity80 { color: #C5A6DF; opacity: 0.8; }
<p style="color:#C5A6DF;opacity:0.8;">80%</p>
Text with #C5A6DF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C5A6DF;}
<p style="text-shadow: 3px 3px 1px #C5A6DF">Text here.</p>
This text has shadow with #C5A6DF color.
.textShadow {text-shadow: 3px 3px 1px #C5A6DF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C5A6DF, 5px 5px 20px red">Text here.</p>
This text has shadow with #C5A6DF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C5A6DF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C5A6DF, Direction=45, Strength=4)">Text</p>
This text has shadow with #C5A6DF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C5A6DF; -webkit-box-shadow: 1px 1px 3px 2px #C5A6DF; box-shadow: 1px 1px 3px 2px #C5A6DF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C5A6DF; -webkit-box-shadow: 1px 1px 3px 2px #C5A6DF; box-shadow:1px 1px 3px 2px #C5A6DF;">
Div content here</div>
This text has color #C5A6DF on black background.
This text has color #C5A6DF on white background.
This text has black color on #C5A6DF background.
This text has white color on #C5A6DF background.