HEX: #C5AFD9
RGB: (197,175,217)
#C5AFD9 contains red, green and blue colors in about the same proportion. Web safe color of #C5AFD9 is #CC99CC (or #C9C).
#C5AFD9 color RGB value is (197,175,217).
RGB: (197,175,217) (77%,69%,85%)
R 197 of 255 = 77%
G 175 of 255 = 69%
B 217 of 255 = 85%
R + G + B ~ 77%. #C5AFD9 is quite light color.
R + G + B =
197 + 175 + 217 = 589 (100%)
R 197 of 589 ~ 33.45%
G 175 of 589 ~ 29.71%
B 217 of 589 ~ 36.84%
#C5AFD9 color CMYK value is (9,19,0,15).
CMYK: (9,19,0,15) C9M19Y0K15 (9%,19%,0%,15%) (0.09/0.19/0.00/0.15)
C5 | AF | D9 | |
---|---|---|---|
RGB | 197 | 175 | 217 |
HSL | 271° | 35.59% | 76.86% |
HSB/HSV | 271° | 19.35% | 85.10% |
CMYK | 9.22% | 19.35% | 0.00% |
14.90% |
HEX | C5 | AF | D9 |
Decimal | 197 | 175 | 217 |
Binary | 11000101 | 10101111 | 11011001 |
Octal | 305 | 257 | 331 |
Examples of css and html codes for elements with #C5AFD9 color. Also use rgb(197,175,217) instead hex code.
.myTextColor { color: #C5AFD9; }
<p style="color:#C5AFD9">This sample text font color is #C5AFD9.</p>
This text font color is #C5AFD9.
.myBgColor { background-color: #C5AFD9; }
<div style="background-color:#C5AFD9">Inner text</div>
This div background color is #C5AFD9.
.myBorderColor { border: 1px solid #C5AFD9; }
<div style="border:3px solid #C5AFD9">Div</div>
This div border color is #C5AFD9.
.myOpacity80 { color: #C5AFD9; opacity: 0.8; }
<p style="color:#C5AFD9;opacity:0.8;">80%</p>
Text with #C5AFD9 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C5AFD9;}
<p style="text-shadow: 3px 3px 1px #C5AFD9">Text here.</p>
This text has shadow with #C5AFD9 color.
.textShadow {text-shadow: 3px 3px 1px #C5AFD9, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C5AFD9, 5px 5px 20px red">Text here.</p>
This text has shadow with #C5AFD9 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C5AFD9, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C5AFD9, Direction=45, Strength=4)">Text</p>
This text has shadow with #C5AFD9 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C5AFD9; -webkit-box-shadow: 1px 1px 3px 2px #C5AFD9; box-shadow: 1px 1px 3px 2px #C5AFD9; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C5AFD9; -webkit-box-shadow: 1px 1px 3px 2px #C5AFD9; box-shadow:1px 1px 3px 2px #C5AFD9;">
Div content here</div>
This text has color #C5AFD9 on black background.
This text has color #C5AFD9 on white background.
This text has black color on #C5AFD9 background.
This text has white color on #C5AFD9 background.