HEX: #AFA5E6
RGB: (175,165,230)
#AFA5E6 contains mainly red and blue colors. Web safe color of #AFA5E6 is #9999CC (or #99C).
#AFA5E6 color RGB value is (175,165,230).
RGB: (175,165,230) (69%,65%,90%)
R 175 of 255 = 69%
G 165 of 255 = 65%
B 230 of 255 = 90%
R + G + B ~ 75%. #AFA5E6 is quite light color.
R + G + B =
175 + 165 + 230 = 570 (100%)
R 175 of 570 ~ 30.7%
G 165 of 570 ~ 28.95%
B 230 of 570 ~ 40.35%
#AFA5E6 color CMYK value is (24,28,0,10).
CMYK: (24,28,0,10) C24M28Y0K10 (24%,28%,0%,10%) (0.24/0.28/0.00/0.10)
AF | A5 | E6 | |
---|---|---|---|
RGB | 175 | 165 | 230 |
HSL | 249° | 56.52% | 77.45% |
HSB/HSV | 249° | 28.26% | 90.20% |
CMYK | 23.91% | 28.26% | 0.00% |
9.80% |
HEX | AF | A5 | E6 |
Decimal | 175 | 165 | 230 |
Binary | 10101111 | 10100101 | 11100110 |
Octal | 257 | 245 | 346 |
Examples of css and html codes for elements with #AFA5E6 color. Also use rgb(175,165,230) instead hex code.
.myTextColor { color: #AFA5E6; }
<p style="color:#AFA5E6">This sample text font color is #AFA5E6.</p>
This text font color is #AFA5E6.
.myBgColor { background-color: #AFA5E6; }
<div style="background-color:#AFA5E6">Inner text</div>
This div background color is #AFA5E6.
.myBorderColor { border: 1px solid #AFA5E6; }
<div style="border:3px solid #AFA5E6">Div</div>
This div border color is #AFA5E6.
.myOpacity80 { color: #AFA5E6; opacity: 0.8; }
<p style="color:#AFA5E6;opacity:0.8;">80%</p>
Text with #AFA5E6 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AFA5E6;}
<p style="text-shadow: 3px 3px 1px #AFA5E6">Text here.</p>
This text has shadow with #AFA5E6 color.
.textShadow {text-shadow: 3px 3px 1px #AFA5E6, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AFA5E6, 5px 5px 20px red">Text here.</p>
This text has shadow with #AFA5E6 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AFA5E6, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AFA5E6, Direction=45, Strength=4)">Text</p>
This text has shadow with #AFA5E6 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AFA5E6; -webkit-box-shadow: 1px 1px 3px 2px #AFA5E6; box-shadow: 1px 1px 3px 2px #AFA5E6; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AFA5E6; -webkit-box-shadow: 1px 1px 3px 2px #AFA5E6; box-shadow:1px 1px 3px 2px #AFA5E6;">
Div content here</div>
This text has color #AFA5E6 on black background.
This text has color #AFA5E6 on white background.
This text has black color on #AFA5E6 background.
This text has white color on #AFA5E6 background.