HEX: #C5A1DE
RGB: (197,161,222)
#C5A1DE contains mainly red and blue colors. Web safe color of #C5A1DE is #CC99CC (or #C9C).
#C5A1DE color RGB value is (197,161,222).
RGB: (197,161,222) (77%,63%,87%)
R 197 of 255 = 77%
G 161 of 255 = 63%
B 222 of 255 = 87%
R + G + B ~ 76%. #C5A1DE is quite light color.
R + G + B =
197 + 161 + 222 = 580 (100%)
R 197 of 580 ~ 33.97%
G 161 of 580 ~ 27.76%
B 222 of 580 ~ 38.28%
#C5A1DE color CMYK value is (11,27,0,13).
CMYK: (11,27,0,13) C11M27Y0K13 (11%,27%,0%,13%) (0.11/0.27/0.00/0.13)
C5 | A1 | DE | |
---|---|---|---|
RGB | 197 | 161 | 222 |
HSL | 275° | 48.03% | 75.10% |
HSB/HSV | 275° | 27.48% | 87.06% |
CMYK | 11.26% | 27.48% | 0.00% |
12.94% |
HEX | C5 | A1 | DE |
Decimal | 197 | 161 | 222 |
Binary | 11000101 | 10100001 | 11011110 |
Octal | 305 | 241 | 336 |
Examples of css and html codes for elements with #C5A1DE color. Also use rgb(197,161,222) instead hex code.
.myTextColor { color: #C5A1DE; }
<p style="color:#C5A1DE">This sample text font color is #C5A1DE.</p>
This text font color is #C5A1DE.
.myBgColor { background-color: #C5A1DE; }
<div style="background-color:#C5A1DE">Inner text</div>
This div background color is #C5A1DE.
.myBorderColor { border: 1px solid #C5A1DE; }
<div style="border:3px solid #C5A1DE">Div</div>
This div border color is #C5A1DE.
.myOpacity80 { color: #C5A1DE; opacity: 0.8; }
<p style="color:#C5A1DE;opacity:0.8;">80%</p>
Text with #C5A1DE color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C5A1DE;}
<p style="text-shadow: 3px 3px 1px #C5A1DE">Text here.</p>
This text has shadow with #C5A1DE color.
.textShadow {text-shadow: 3px 3px 1px #C5A1DE, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C5A1DE, 5px 5px 20px red">Text here.</p>
This text has shadow with #C5A1DE primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C5A1DE, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C5A1DE, Direction=45, Strength=4)">Text</p>
This text has shadow with #C5A1DE and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C5A1DE; -webkit-box-shadow: 1px 1px 3px 2px #C5A1DE; box-shadow: 1px 1px 3px 2px #C5A1DE; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C5A1DE; -webkit-box-shadow: 1px 1px 3px 2px #C5A1DE; box-shadow:1px 1px 3px 2px #C5A1DE;">
Div content here</div>
This text has color #C5A1DE on black background.
This text has color #C5A1DE on white background.
This text has black color on #C5A1DE background.
This text has white color on #C5A1DE background.