HEX: #AF80EE
RGB: (175,128,238)
#AF80EE contains mainly blue color. Web safe color of #AF80EE is #9966FF (or #96F).
#AF80EE color RGB value is (175,128,238).
RGB: (175,128,238) (69%,50%,93%)
R 175 of 255 = 69%
G 128 of 255 = 50%
B 238 of 255 = 93%
R + G + B ~ 71%. #AF80EE is quite light color.
R + G + B =
175 + 128 + 238 = 541 (100%)
R 175 of 541 ~ 32.35%
G 128 of 541 ~ 23.66%
B 238 of 541 ~ 43.99%
#AF80EE color CMYK value is (26,46,0,7).
CMYK: (26,46,0,7) C26M46Y0K7 (26%,46%,0%,7%) (0.26/0.46/0.00/0.07)
AF | 80 | EE | |
---|---|---|---|
RGB | 175 | 128 | 238 |
HSL | 266° | 76.39% | 71.76% |
HSB/HSV | 266° | 46.22% | 93.33% |
CMYK | 26.47% | 46.22% | 0.00% |
6.67% |
HEX | AF | 80 | EE |
Decimal | 175 | 128 | 238 |
Binary | 10101111 | 10000000 | 11101110 |
Octal | 257 | 200 | 356 |
Examples of css and html codes for elements with #AF80EE color. Also use rgb(175,128,238) instead hex code.
.myTextColor { color: #AF80EE; }
<p style="color:#AF80EE">This sample text font color is #AF80EE.</p>
This text font color is #AF80EE.
.myBgColor { background-color: #AF80EE; }
<div style="background-color:#AF80EE">Inner text</div>
This div background color is #AF80EE.
.myBorderColor { border: 1px solid #AF80EE; }
<div style="border:3px solid #AF80EE">Div</div>
This div border color is #AF80EE.
.myOpacity80 { color: #AF80EE; opacity: 0.8; }
<p style="color:#AF80EE;opacity:0.8;">80%</p>
Text with #AF80EE color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AF80EE;}
<p style="text-shadow: 3px 3px 1px #AF80EE">Text here.</p>
This text has shadow with #AF80EE color.
.textShadow {text-shadow: 3px 3px 1px #AF80EE, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AF80EE, 5px 5px 20px red">Text here.</p>
This text has shadow with #AF80EE primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AF80EE, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AF80EE, Direction=45, Strength=4)">Text</p>
This text has shadow with #AF80EE and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AF80EE; -webkit-box-shadow: 1px 1px 3px 2px #AF80EE; box-shadow: 1px 1px 3px 2px #AF80EE; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AF80EE; -webkit-box-shadow: 1px 1px 3px 2px #AF80EE; box-shadow:1px 1px 3px 2px #AF80EE;">
Div content here</div>
This text has color #AF80EE on black background.
This text has color #AF80EE on white background.
This text has black color on #AF80EE background.
This text has white color on #AF80EE background.