HEX: #AFA2E0
RGB: (175,162,224)
#AFA2E0 contains mainly red and blue colors. Web safe color of #AFA2E0 is #9999CC (or #99C).
#AFA2E0 color RGB value is (175,162,224).
RGB: (175,162,224) (69%,64%,88%)
R 175 of 255 = 69%
G 162 of 255 = 64%
B 224 of 255 = 88%
R + G + B ~ 74%. #AFA2E0 is quite light color.
R + G + B =
175 + 162 + 224 = 561 (100%)
R 175 of 561 ~ 31.19%
G 162 of 561 ~ 28.88%
B 224 of 561 ~ 39.93%
#AFA2E0 color CMYK value is (22,28,0,12).
CMYK: (22,28,0,12) C22M28Y0K12 (22%,28%,0%,12%) (0.22/0.28/0.00/0.12)
AF | A2 | E0 | |
---|---|---|---|
RGB | 175 | 162 | 224 |
HSL | 253° | 50.00% | 75.69% |
HSB/HSV | 253° | 27.68% | 87.84% |
CMYK | 21.88% | 27.68% | 0.00% |
12.16% |
HEX | AF | A2 | E0 |
Decimal | 175 | 162 | 224 |
Binary | 10101111 | 10100010 | 11100000 |
Octal | 257 | 242 | 340 |
Examples of css and html codes for elements with #AFA2E0 color. Also use rgb(175,162,224) instead hex code.
.myTextColor { color: #AFA2E0; }
<p style="color:#AFA2E0">This sample text font color is #AFA2E0.</p>
This text font color is #AFA2E0.
.myBgColor { background-color: #AFA2E0; }
<div style="background-color:#AFA2E0">Inner text</div>
This div background color is #AFA2E0.
.myBorderColor { border: 1px solid #AFA2E0; }
<div style="border:3px solid #AFA2E0">Div</div>
This div border color is #AFA2E0.
.myOpacity80 { color: #AFA2E0; opacity: 0.8; }
<p style="color:#AFA2E0;opacity:0.8;">80%</p>
Text with #AFA2E0 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AFA2E0;}
<p style="text-shadow: 3px 3px 1px #AFA2E0">Text here.</p>
This text has shadow with #AFA2E0 color.
.textShadow {text-shadow: 3px 3px 1px #AFA2E0, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AFA2E0, 5px 5px 20px red">Text here.</p>
This text has shadow with #AFA2E0 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AFA2E0, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AFA2E0, Direction=45, Strength=4)">Text</p>
This text has shadow with #AFA2E0 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AFA2E0; -webkit-box-shadow: 1px 1px 3px 2px #AFA2E0; box-shadow: 1px 1px 3px 2px #AFA2E0; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AFA2E0; -webkit-box-shadow: 1px 1px 3px 2px #AFA2E0; box-shadow:1px 1px 3px 2px #AFA2E0;">
Div content here</div>
This text has color #AFA2E0 on black background.
This text has color #AFA2E0 on white background.
This text has black color on #AFA2E0 background.
This text has white color on #AFA2E0 background.