HEX: #AF5AE7
RGB: (175,90,231)
#AF5AE7 contains mainly red and blue colors. Web safe color of #AF5AE7 is #9966FF (or #96F).
#AF5AE7 color RGB value is (175,90,231).
RGB: (175,90,231) (69%,35%,91%)
R 175 of 255 = 69%
G 90 of 255 = 35%
B 231 of 255 = 91%
R + G + B ~ 65%. #AF5AE7 is quite light color.
R + G + B =
175 + 90 + 231 = 496 (100%)
R 175 of 496 ~ 35.28%
G 90 of 496 ~ 18.15%
B 231 of 496 ~ 46.57%
#AF5AE7 color CMYK value is (24,61,0,9).
CMYK: (24,61,0,9) C24M61Y0K9 (24%,61%,0%,9%) (0.24/0.61/0.00/0.09)
AF | 5A | E7 | |
---|---|---|---|
RGB | 175 | 90 | 231 |
HSL | 276° | 74.60% | 62.94% |
HSB/HSV | 276° | 61.04% | 90.59% |
CMYK | 24.24% | 61.04% | 0.00% |
9.41% |
HEX | AF | 5A | E7 |
Decimal | 175 | 90 | 231 |
Binary | 10101111 | 1011010 | 11100111 |
Octal | 257 | 132 | 347 |
Examples of css and html codes for elements with #AF5AE7 color. Also use rgb(175,90,231) instead hex code.
.myTextColor { color: #AF5AE7; }
<p style="color:#AF5AE7">This sample text font color is #AF5AE7.</p>
This text font color is #AF5AE7.
.myBgColor { background-color: #AF5AE7; }
<div style="background-color:#AF5AE7">Inner text</div>
This div background color is #AF5AE7.
.myBorderColor { border: 1px solid #AF5AE7; }
<div style="border:3px solid #AF5AE7">Div</div>
This div border color is #AF5AE7.
.myOpacity80 { color: #AF5AE7; opacity: 0.8; }
<p style="color:#AF5AE7;opacity:0.8;">80%</p>
Text with #AF5AE7 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AF5AE7;}
<p style="text-shadow: 3px 3px 1px #AF5AE7">Text here.</p>
This text has shadow with #AF5AE7 color.
.textShadow {text-shadow: 3px 3px 1px #AF5AE7, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AF5AE7, 5px 5px 20px red">Text here.</p>
This text has shadow with #AF5AE7 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AF5AE7, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AF5AE7, Direction=45, Strength=4)">Text</p>
This text has shadow with #AF5AE7 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AF5AE7; -webkit-box-shadow: 1px 1px 3px 2px #AF5AE7; box-shadow: 1px 1px 3px 2px #AF5AE7; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AF5AE7; -webkit-box-shadow: 1px 1px 3px 2px #AF5AE7; box-shadow:1px 1px 3px 2px #AF5AE7;">
Div content here</div>
This text has color #AF5AE7 on black background.
This text has color #AF5AE7 on white background.
This text has black color on #AF5AE7 background.
This text has white color on #AF5AE7 background.