HEX: #AFA3EC
RGB: (175,163,236)
#AFA3EC contains mainly blue color. Web safe color of #AFA3EC is #9999FF (or #99F).
#AFA3EC color RGB value is (175,163,236).
RGB: (175,163,236) (69%,64%,93%)
R 175 of 255 = 69%
G 163 of 255 = 64%
B 236 of 255 = 93%
R + G + B ~ 75%. #AFA3EC is quite light color.
R + G + B =
175 + 163 + 236 = 574 (100%)
R 175 of 574 ~ 30.49%
G 163 of 574 ~ 28.4%
B 236 of 574 ~ 41.11%
#AFA3EC color CMYK value is (26,31,0,7).
CMYK: (26,31,0,7) C26M31Y0K7 (26%,31%,0%,7%) (0.26/0.31/0.00/0.07)
AF | A3 | EC | |
---|---|---|---|
RGB | 175 | 163 | 236 |
HSL | 250° | 65.77% | 78.24% |
HSB/HSV | 250° | 30.93% | 92.55% |
CMYK | 25.85% | 30.93% | 0.00% |
7.45% |
HEX | AF | A3 | EC |
Decimal | 175 | 163 | 236 |
Binary | 10101111 | 10100011 | 11101100 |
Octal | 257 | 243 | 354 |
Examples of css and html codes for elements with #AFA3EC color. Also use rgb(175,163,236) instead hex code.
.myTextColor { color: #AFA3EC; }
<p style="color:#AFA3EC">This sample text font color is #AFA3EC.</p>
This text font color is #AFA3EC.
.myBgColor { background-color: #AFA3EC; }
<div style="background-color:#AFA3EC">Inner text</div>
This div background color is #AFA3EC.
.myBorderColor { border: 1px solid #AFA3EC; }
<div style="border:3px solid #AFA3EC">Div</div>
This div border color is #AFA3EC.
.myOpacity80 { color: #AFA3EC; opacity: 0.8; }
<p style="color:#AFA3EC;opacity:0.8;">80%</p>
Text with #AFA3EC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AFA3EC;}
<p style="text-shadow: 3px 3px 1px #AFA3EC">Text here.</p>
This text has shadow with #AFA3EC color.
.textShadow {text-shadow: 3px 3px 1px #AFA3EC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AFA3EC, 5px 5px 20px red">Text here.</p>
This text has shadow with #AFA3EC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AFA3EC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AFA3EC, Direction=45, Strength=4)">Text</p>
This text has shadow with #AFA3EC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AFA3EC; -webkit-box-shadow: 1px 1px 3px 2px #AFA3EC; box-shadow: 1px 1px 3px 2px #AFA3EC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AFA3EC; -webkit-box-shadow: 1px 1px 3px 2px #AFA3EC; box-shadow:1px 1px 3px 2px #AFA3EC;">
Div content here</div>
This text has color #AFA3EC on black background.
This text has color #AFA3EC on white background.
This text has black color on #AFA3EC background.
This text has white color on #AFA3EC background.