HEX: #AFA8EE
RGB: (175,168,238)
#AFA8EE contains mainly blue color. Web safe color of #AFA8EE is #9999FF (or #99F).
#AFA8EE color RGB value is (175,168,238).
RGB: (175,168,238) (69%,66%,93%)
R 175 of 255 = 69%
G 168 of 255 = 66%
B 238 of 255 = 93%
R + G + B ~ 76%. #AFA8EE is quite light color.
R + G + B =
175 + 168 + 238 = 581 (100%)
R 175 of 581 ~ 30.12%
G 168 of 581 ~ 28.92%
B 238 of 581 ~ 40.96%
#AFA8EE color CMYK value is (26,29,0,7).
CMYK: (26,29,0,7) C26M29Y0K7 (26%,29%,0%,7%) (0.26/0.29/0.00/0.07)
AF | A8 | EE | |
---|---|---|---|
RGB | 175 | 168 | 238 |
HSL | 246° | 67.31% | 79.61% |
HSB/HSV | 246° | 29.41% | 93.33% |
CMYK | 26.47% | 29.41% | 0.00% |
6.67% |
HEX | AF | A8 | EE |
Decimal | 175 | 168 | 238 |
Binary | 10101111 | 10101000 | 11101110 |
Octal | 257 | 250 | 356 |
Examples of css and html codes for elements with #AFA8EE color. Also use rgb(175,168,238) instead hex code.
.myTextColor { color: #AFA8EE; }
<p style="color:#AFA8EE">This sample text font color is #AFA8EE.</p>
This text font color is #AFA8EE.
.myBgColor { background-color: #AFA8EE; }
<div style="background-color:#AFA8EE">Inner text</div>
This div background color is #AFA8EE.
.myBorderColor { border: 1px solid #AFA8EE; }
<div style="border:3px solid #AFA8EE">Div</div>
This div border color is #AFA8EE.
.myOpacity80 { color: #AFA8EE; opacity: 0.8; }
<p style="color:#AFA8EE;opacity:0.8;">80%</p>
Text with #AFA8EE color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AFA8EE;}
<p style="text-shadow: 3px 3px 1px #AFA8EE">Text here.</p>
This text has shadow with #AFA8EE color.
.textShadow {text-shadow: 3px 3px 1px #AFA8EE, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AFA8EE, 5px 5px 20px red">Text here.</p>
This text has shadow with #AFA8EE primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AFA8EE, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AFA8EE, Direction=45, Strength=4)">Text</p>
This text has shadow with #AFA8EE and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AFA8EE; -webkit-box-shadow: 1px 1px 3px 2px #AFA8EE; box-shadow: 1px 1px 3px 2px #AFA8EE; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AFA8EE; -webkit-box-shadow: 1px 1px 3px 2px #AFA8EE; box-shadow:1px 1px 3px 2px #AFA8EE;">
Div content here</div>
This text has color #AFA8EE on black background.
This text has color #AFA8EE on white background.
This text has black color on #AFA8EE background.
This text has white color on #AFA8EE background.