HEX: #AF8EBE
RGB: (175,142,190)
#AF8EBE contains red, green and blue colors in about the same proportion. Web safe color of #AF8EBE is #9999CC (or #99C).
#AF8EBE color RGB value is (175,142,190).
RGB: (175,142,190) (69%,56%,75%)
R 175 of 255 = 69%
G 142 of 255 = 56%
B 190 of 255 = 75%
R + G + B ~ 67%. #AF8EBE is quite light color.
R + G + B =
175 + 142 + 190 = 507 (100%)
R 175 of 507 ~ 34.52%
G 142 of 507 ~ 28.01%
B 190 of 507 ~ 37.48%
#AF8EBE color CMYK value is (8,25,0,25).
CMYK: (8,25,0,25) C8M25Y0K25 (8%,25%,0%,25%) (0.08/0.25/0.00/0.25)
AF | 8E | BE | |
---|---|---|---|
RGB | 175 | 142 | 190 |
HSL | 281° | 26.97% | 65.10% |
HSB/HSV | 281° | 25.26% | 74.51% |
CMYK | 7.89% | 25.26% | 0.00% |
25.49% |
HEX | AF | 8E | BE |
Decimal | 175 | 142 | 190 |
Binary | 10101111 | 10001110 | 10111110 |
Octal | 257 | 216 | 276 |
Examples of css and html codes for elements with #AF8EBE color. Also use rgb(175,142,190) instead hex code.
.myTextColor { color: #AF8EBE; }
<p style="color:#AF8EBE">This sample text font color is #AF8EBE.</p>
This text font color is #AF8EBE.
.myBgColor { background-color: #AF8EBE; }
<div style="background-color:#AF8EBE">Inner text</div>
This div background color is #AF8EBE.
.myBorderColor { border: 1px solid #AF8EBE; }
<div style="border:3px solid #AF8EBE">Div</div>
This div border color is #AF8EBE.
.myOpacity80 { color: #AF8EBE; opacity: 0.8; }
<p style="color:#AF8EBE;opacity:0.8;">80%</p>
Text with #AF8EBE color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AF8EBE;}
<p style="text-shadow: 3px 3px 1px #AF8EBE">Text here.</p>
This text has shadow with #AF8EBE color.
.textShadow {text-shadow: 3px 3px 1px #AF8EBE, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AF8EBE, 5px 5px 20px red">Text here.</p>
This text has shadow with #AF8EBE primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AF8EBE, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AF8EBE, Direction=45, Strength=4)">Text</p>
This text has shadow with #AF8EBE and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AF8EBE; -webkit-box-shadow: 1px 1px 3px 2px #AF8EBE; box-shadow: 1px 1px 3px 2px #AF8EBE; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AF8EBE; -webkit-box-shadow: 1px 1px 3px 2px #AF8EBE; box-shadow:1px 1px 3px 2px #AF8EBE;">
Div content here</div>
This text has color #AF8EBE on black background.
This text has color #AF8EBE on white background.
This text has black color on #AF8EBE background.
This text has white color on #AF8EBE background.