HEX: #A6519C
RGB: (166,81,156)
#A6519C contains mainly red and blue colors. Web safe color of #A6519C is #996699 (or #969).
#A6519C color RGB value is (166,81,156).
RGB: (166,81,156) (65%,32%,61%)
R 166 of 255 = 65%
G 81 of 255 = 32%
B 156 of 255 = 61%
R + G + B ~ 53%. #A6519C is middle color (not dark and not light).
R + G + B =
166 + 81 + 156 = 403 (100%)
R 166 of 403 ~ 41.19%
G 81 of 403 ~ 20.1%
B 156 of 403 ~ 38.71%
#A6519C color CMYK value is (0,51,6,35).
CMYK: (0,51,6,35) C0M51Y6K35 (0%,51%,6%,35%) (0.00/0.51/0.06/0.35)
A6 | 51 | 9C | |
---|---|---|---|
RGB | 166 | 81 | 156 |
HSL | 307° | 34.41% | 48.43% |
HSB/HSV | 307° | 51.20% | 65.10% |
CMYK | 0.00% | 51.20% | 6.02% |
34.90% |
HEX | A6 | 51 | 9C |
Decimal | 166 | 81 | 156 |
Binary | 10100110 | 1010001 | 10011100 |
Octal | 246 | 121 | 234 |
Examples of css and html codes for elements with #A6519C color. Also use rgb(166,81,156) instead hex code.
.myTextColor { color: #A6519C; }
<p style="color:#A6519C">This sample text font color is #A6519C.</p>
This text font color is #A6519C.
.myBgColor { background-color: #A6519C; }
<div style="background-color:#A6519C">Inner text</div>
This div background color is #A6519C.
.myBorderColor { border: 1px solid #A6519C; }
<div style="border:3px solid #A6519C">Div</div>
This div border color is #A6519C.
.myOpacity80 { color: #A6519C; opacity: 0.8; }
<p style="color:#A6519C;opacity:0.8;">80%</p>
Text with #A6519C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A6519C;}
<p style="text-shadow: 3px 3px 1px #A6519C">Text here.</p>
This text has shadow with #A6519C color.
.textShadow {text-shadow: 3px 3px 1px #A6519C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A6519C, 5px 5px 20px red">Text here.</p>
This text has shadow with #A6519C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A6519C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A6519C, Direction=45, Strength=4)">Text</p>
This text has shadow with #A6519C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A6519C; -webkit-box-shadow: 1px 1px 3px 2px #A6519C; box-shadow: 1px 1px 3px 2px #A6519C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A6519C; -webkit-box-shadow: 1px 1px 3px 2px #A6519C; box-shadow:1px 1px 3px 2px #A6519C;">
Div content here</div>
This text has color #A6519C on black background.
This text has color #A6519C on white background.
This text has black color on #A6519C background.
This text has white color on #A6519C background.