HEX: #A6479B
RGB: (166,71,155)
#A6479B contains mainly red and blue colors. Web safe color of #A6479B is #993399 (or #939).
#A6479B color RGB value is (166,71,155).
RGB: (166,71,155) (65%,28%,61%)
R 166 of 255 = 65%
G 71 of 255 = 28%
B 155 of 255 = 61%
R + G + B ~ 51%. #A6479B is middle color (not dark and not light).
R + G + B =
166 + 71 + 155 = 392 (100%)
R 166 of 392 ~ 42.35%
G 71 of 392 ~ 18.11%
B 155 of 392 ~ 39.54%
#A6479B color CMYK value is (0,57,7,35).
CMYK: (0,57,7,35) C0M57Y7K35 (0%,57%,7%,35%) (0.00/0.57/0.07/0.35)
A6 | 47 | 9B | |
---|---|---|---|
RGB | 166 | 71 | 155 |
HSL | 307° | 40.08% | 46.47% |
HSB/HSV | 307° | 57.23% | 65.10% |
CMYK | 0.00% | 57.23% | 6.63% |
34.90% |
HEX | A6 | 47 | 9B |
Decimal | 166 | 71 | 155 |
Binary | 10100110 | 1000111 | 10011011 |
Octal | 246 | 107 | 233 |
Examples of css and html codes for elements with #A6479B color. Also use rgb(166,71,155) instead hex code.
.myTextColor { color: #A6479B; }
<p style="color:#A6479B">This sample text font color is #A6479B.</p>
This text font color is #A6479B.
.myBgColor { background-color: #A6479B; }
<div style="background-color:#A6479B">Inner text</div>
This div background color is #A6479B.
.myBorderColor { border: 1px solid #A6479B; }
<div style="border:3px solid #A6479B">Div</div>
This div border color is #A6479B.
.myOpacity80 { color: #A6479B; opacity: 0.8; }
<p style="color:#A6479B;opacity:0.8;">80%</p>
Text with #A6479B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A6479B;}
<p style="text-shadow: 3px 3px 1px #A6479B">Text here.</p>
This text has shadow with #A6479B color.
.textShadow {text-shadow: 3px 3px 1px #A6479B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A6479B, 5px 5px 20px red">Text here.</p>
This text has shadow with #A6479B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A6479B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A6479B, Direction=45, Strength=4)">Text</p>
This text has shadow with #A6479B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A6479B; -webkit-box-shadow: 1px 1px 3px 2px #A6479B; box-shadow: 1px 1px 3px 2px #A6479B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A6479B; -webkit-box-shadow: 1px 1px 3px 2px #A6479B; box-shadow:1px 1px 3px 2px #A6479B;">
Div content here</div>
This text has color #A6479B on black background.
This text has color #A6479B on white background.
This text has black color on #A6479B background.
This text has white color on #A6479B background.