HEX: #A5479E
RGB: (165,71,158)
#A5479E contains mainly red and blue colors. Web safe color of #A5479E is #993399 (or #939).
#A5479E color RGB value is (165,71,158).
RGB: (165,71,158) (65%,28%,62%)
R 165 of 255 = 65%
G 71 of 255 = 28%
B 158 of 255 = 62%
R + G + B ~ 52%. #A5479E is middle color (not dark and not light).
R + G + B =
165 + 71 + 158 = 394 (100%)
R 165 of 394 ~ 41.88%
G 71 of 394 ~ 18.02%
B 158 of 394 ~ 40.1%
#A5479E color CMYK value is (0,57,4,35).
CMYK: (0,57,4,35) C0M57Y4K35 (0%,57%,4%,35%) (0.00/0.57/0.04/0.35)
A5 | 47 | 9E | |
---|---|---|---|
RGB | 165 | 71 | 158 |
HSL | 304° | 39.83% | 46.27% |
HSB/HSV | 304° | 56.97% | 64.71% |
CMYK | 0.00% | 56.97% | 4.24% |
35.29% |
HEX | A5 | 47 | 9E |
Decimal | 165 | 71 | 158 |
Binary | 10100101 | 1000111 | 10011110 |
Octal | 245 | 107 | 236 |
Examples of css and html codes for elements with #A5479E color. Also use rgb(165,71,158) instead hex code.
.myTextColor { color: #A5479E; }
<p style="color:#A5479E">This sample text font color is #A5479E.</p>
This text font color is #A5479E.
.myBgColor { background-color: #A5479E; }
<div style="background-color:#A5479E">Inner text</div>
This div background color is #A5479E.
.myBorderColor { border: 1px solid #A5479E; }
<div style="border:3px solid #A5479E">Div</div>
This div border color is #A5479E.
.myOpacity80 { color: #A5479E; opacity: 0.8; }
<p style="color:#A5479E;opacity:0.8;">80%</p>
Text with #A5479E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A5479E;}
<p style="text-shadow: 3px 3px 1px #A5479E">Text here.</p>
This text has shadow with #A5479E color.
.textShadow {text-shadow: 3px 3px 1px #A5479E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A5479E, 5px 5px 20px red">Text here.</p>
This text has shadow with #A5479E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A5479E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A5479E, Direction=45, Strength=4)">Text</p>
This text has shadow with #A5479E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A5479E; -webkit-box-shadow: 1px 1px 3px 2px #A5479E; box-shadow: 1px 1px 3px 2px #A5479E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A5479E; -webkit-box-shadow: 1px 1px 3px 2px #A5479E; box-shadow:1px 1px 3px 2px #A5479E;">
Div content here</div>
This text has color #A5479E on black background.
This text has color #A5479E on white background.
This text has black color on #A5479E background.
This text has white color on #A5479E background.