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