HEX: #C2A5DF
RGB: (194,165,223)
#C2A5DF contains red, green and blue colors in about the same proportion. Web safe color of #C2A5DF is #CC99CC (or #C9C).
#C2A5DF color RGB value is (194,165,223).
RGB: (194,165,223) (76%,65%,87%)
R 194 of 255 = 76%
G 165 of 255 = 65%
B 223 of 255 = 87%
R + G + B ~ 76%. #C2A5DF is quite light color.
R + G + B =
194 + 165 + 223 = 582 (100%)
R 194 of 582 ~ 33.33%
G 165 of 582 ~ 28.35%
B 223 of 582 ~ 38.32%
#C2A5DF color CMYK value is (13,26,0,13).
CMYK: (13,26,0,13) C13M26Y0K13 (13%,26%,0%,13%) (0.13/0.26/0.00/0.13)
C2 | A5 | DF | |
---|---|---|---|
RGB | 194 | 165 | 223 |
HSL | 270° | 47.54% | 76.08% |
HSB/HSV | 270° | 26.01% | 87.45% |
CMYK | 13.00% | 26.01% | 0.00% |
12.55% |
HEX | C2 | A5 | DF |
Decimal | 194 | 165 | 223 |
Binary | 11000010 | 10100101 | 11011111 |
Octal | 302 | 245 | 337 |
Examples of css and html codes for elements with #C2A5DF color. Also use rgb(194,165,223) instead hex code.
.myTextColor { color: #C2A5DF; }
<p style="color:#C2A5DF">This sample text font color is #C2A5DF.</p>
This text font color is #C2A5DF.
.myBgColor { background-color: #C2A5DF; }
<div style="background-color:#C2A5DF">Inner text</div>
This div background color is #C2A5DF.
.myBorderColor { border: 1px solid #C2A5DF; }
<div style="border:3px solid #C2A5DF">Div</div>
This div border color is #C2A5DF.
.myOpacity80 { color: #C2A5DF; opacity: 0.8; }
<p style="color:#C2A5DF;opacity:0.8;">80%</p>
Text with #C2A5DF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C2A5DF;}
<p style="text-shadow: 3px 3px 1px #C2A5DF">Text here.</p>
This text has shadow with #C2A5DF color.
.textShadow {text-shadow: 3px 3px 1px #C2A5DF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C2A5DF, 5px 5px 20px red">Text here.</p>
This text has shadow with #C2A5DF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C2A5DF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C2A5DF, Direction=45, Strength=4)">Text</p>
This text has shadow with #C2A5DF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C2A5DF; -webkit-box-shadow: 1px 1px 3px 2px #C2A5DF; box-shadow: 1px 1px 3px 2px #C2A5DF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C2A5DF; -webkit-box-shadow: 1px 1px 3px 2px #C2A5DF; box-shadow:1px 1px 3px 2px #C2A5DF;">
Div content here</div>
This text has color #C2A5DF on black background.
This text has color #C2A5DF on white background.
This text has black color on #C2A5DF background.
This text has white color on #C2A5DF background.