HEX: #A6579D
RGB: (166,87,157)
#A6579D contains mainly red and blue colors. Web safe color of #A6579D is #996699 (or #969).
#A6579D color RGB value is (166,87,157).
RGB: (166,87,157) (65%,34%,62%)
R 166 of 255 = 65%
G 87 of 255 = 34%
B 157 of 255 = 62%
R + G + B ~ 54%. #A6579D is middle color (not dark and not light).
R + G + B =
166 + 87 + 157 = 410 (100%)
R 166 of 410 ~ 40.49%
G 87 of 410 ~ 21.22%
B 157 of 410 ~ 38.29%
#A6579D color CMYK value is (0,48,5,35).
CMYK: (0,48,5,35) C0M48Y5K35 (0%,48%,5%,35%) (0.00/0.48/0.05/0.35)
A6 | 57 | 9D | |
---|---|---|---|
RGB | 166 | 87 | 157 |
HSL | 307° | 31.23% | 49.61% |
HSB/HSV | 307° | 47.59% | 65.10% |
CMYK | 0.00% | 47.59% | 5.42% |
34.90% |
HEX | A6 | 57 | 9D |
Decimal | 166 | 87 | 157 |
Binary | 10100110 | 1010111 | 10011101 |
Octal | 246 | 127 | 235 |
Examples of css and html codes for elements with #A6579D color. Also use rgb(166,87,157) instead hex code.
.myTextColor { color: #A6579D; }
<p style="color:#A6579D">This sample text font color is #A6579D.</p>
This text font color is #A6579D.
.myBgColor { background-color: #A6579D; }
<div style="background-color:#A6579D">Inner text</div>
This div background color is #A6579D.
.myBorderColor { border: 1px solid #A6579D; }
<div style="border:3px solid #A6579D">Div</div>
This div border color is #A6579D.
.myOpacity80 { color: #A6579D; opacity: 0.8; }
<p style="color:#A6579D;opacity:0.8;">80%</p>
Text with #A6579D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A6579D;}
<p style="text-shadow: 3px 3px 1px #A6579D">Text here.</p>
This text has shadow with #A6579D color.
.textShadow {text-shadow: 3px 3px 1px #A6579D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A6579D, 5px 5px 20px red">Text here.</p>
This text has shadow with #A6579D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A6579D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A6579D, Direction=45, Strength=4)">Text</p>
This text has shadow with #A6579D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A6579D; -webkit-box-shadow: 1px 1px 3px 2px #A6579D; box-shadow: 1px 1px 3px 2px #A6579D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A6579D; -webkit-box-shadow: 1px 1px 3px 2px #A6579D; box-shadow:1px 1px 3px 2px #A6579D;">
Div content here</div>
This text has color #A6579D on black background.
This text has color #A6579D on white background.
This text has black color on #A6579D background.
This text has white color on #A6579D background.