HEX: #A510E4
RGB: (165,16,228)
#A510E4 contains mainly blue color. Web safe color of #A510E4 is #9900CC (or #90C).
#A510E4 color RGB value is (165,16,228).
RGB: (165,16,228) (65%,6%,89%)
R 165 of 255 = 65%
G 16 of 255 = 6%
B 228 of 255 = 89%
R + G + B ~ 53%. #A510E4 is middle color (not dark and not light).
R + G + B =
165 + 16 + 228 = 409 (100%)
R 165 of 409 ~ 40.34%
G 16 of 409 ~ 3.91%
B 228 of 409 ~ 55.75%
#A510E4 color CMYK value is (28,93,0,11).
CMYK: (28,93,0,11) C28M93Y0K11 (28%,93%,0%,11%) (0.28/0.93/0.00/0.11)
A5 | 10 | E4 | |
---|---|---|---|
RGB | 165 | 16 | 228 |
HSL | 282° | 86.89% | 47.84% |
HSB/HSV | 282° | 92.98% | 89.41% |
CMYK | 27.63% | 92.98% | 0.00% |
10.59% |
HEX | A5 | 10 | E4 |
Decimal | 165 | 16 | 228 |
Binary | 10100101 | 10000 | 11100100 |
Octal | 245 | 20 | 344 |
Examples of css and html codes for elements with #A510E4 color. Also use rgb(165,16,228) instead hex code.
.myTextColor { color: #A510E4; }
<p style="color:#A510E4">This sample text font color is #A510E4.</p>
This text font color is #A510E4.
.myBgColor { background-color: #A510E4; }
<div style="background-color:#A510E4">Inner text</div>
This div background color is #A510E4.
.myBorderColor { border: 1px solid #A510E4; }
<div style="border:3px solid #A510E4">Div</div>
This div border color is #A510E4.
.myOpacity80 { color: #A510E4; opacity: 0.8; }
<p style="color:#A510E4;opacity:0.8;">80%</p>
Text with #A510E4 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A510E4;}
<p style="text-shadow: 3px 3px 1px #A510E4">Text here.</p>
This text has shadow with #A510E4 color.
.textShadow {text-shadow: 3px 3px 1px #A510E4, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A510E4, 5px 5px 20px red">Text here.</p>
This text has shadow with #A510E4 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A510E4, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A510E4, Direction=45, Strength=4)">Text</p>
This text has shadow with #A510E4 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A510E4; -webkit-box-shadow: 1px 1px 3px 2px #A510E4; box-shadow: 1px 1px 3px 2px #A510E4; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A510E4; -webkit-box-shadow: 1px 1px 3px 2px #A510E4; box-shadow:1px 1px 3px 2px #A510E4;">
Div content here</div>
This text has color #A510E4 on black background.
This text has color #A510E4 on white background.
This text has black color on #A510E4 background.
This text has white color on #A510E4 background.