HEX: #AF5EC7
RGB: (175,94,199)
#AF5EC7 contains mainly red and blue colors. Web safe color of #AF5EC7 is #9966CC (or #96C).
#AF5EC7 color RGB value is (175,94,199).
RGB: (175,94,199) (69%,37%,78%)
R 175 of 255 = 69%
G 94 of 255 = 37%
B 199 of 255 = 78%
R + G + B ~ 61%. #AF5EC7 is quite light color.
R + G + B =
175 + 94 + 199 = 468 (100%)
R 175 of 468 ~ 37.39%
G 94 of 468 ~ 20.09%
B 199 of 468 ~ 42.52%
#AF5EC7 color CMYK value is (12,53,0,22).
CMYK: (12,53,0,22) C12M53Y0K22 (12%,53%,0%,22%) (0.12/0.53/0.00/0.22)
AF | 5E | C7 | |
---|---|---|---|
RGB | 175 | 94 | 199 |
HSL | 286° | 48.39% | 57.45% |
HSB/HSV | 286° | 52.76% | 78.04% |
CMYK | 12.06% | 52.76% | 0.00% |
21.96% |
HEX | AF | 5E | C7 |
Decimal | 175 | 94 | 199 |
Binary | 10101111 | 1011110 | 11000111 |
Octal | 257 | 136 | 307 |
Examples of css and html codes for elements with #AF5EC7 color. Also use rgb(175,94,199) instead hex code.
.myTextColor { color: #AF5EC7; }
<p style="color:#AF5EC7">This sample text font color is #AF5EC7.</p>
This text font color is #AF5EC7.
.myBgColor { background-color: #AF5EC7; }
<div style="background-color:#AF5EC7">Inner text</div>
This div background color is #AF5EC7.
.myBorderColor { border: 1px solid #AF5EC7; }
<div style="border:3px solid #AF5EC7">Div</div>
This div border color is #AF5EC7.
.myOpacity80 { color: #AF5EC7; opacity: 0.8; }
<p style="color:#AF5EC7;opacity:0.8;">80%</p>
Text with #AF5EC7 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AF5EC7;}
<p style="text-shadow: 3px 3px 1px #AF5EC7">Text here.</p>
This text has shadow with #AF5EC7 color.
.textShadow {text-shadow: 3px 3px 1px #AF5EC7, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AF5EC7, 5px 5px 20px red">Text here.</p>
This text has shadow with #AF5EC7 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AF5EC7, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AF5EC7, Direction=45, Strength=4)">Text</p>
This text has shadow with #AF5EC7 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AF5EC7; -webkit-box-shadow: 1px 1px 3px 2px #AF5EC7; box-shadow: 1px 1px 3px 2px #AF5EC7; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AF5EC7; -webkit-box-shadow: 1px 1px 3px 2px #AF5EC7; box-shadow:1px 1px 3px 2px #AF5EC7;">
Div content here</div>
This text has color #AF5EC7 on black background.
This text has color #AF5EC7 on white background.
This text has black color on #AF5EC7 background.
This text has white color on #AF5EC7 background.