HEX: #A64A9D
RGB: (166,74,157)
#A64A9D contains mainly red and blue colors. Web safe color of #A64A9D is #993399 (or #939).
#A64A9D color RGB value is (166,74,157).
RGB: (166,74,157) (65%,29%,62%)
R 166 of 255 = 65%
G 74 of 255 = 29%
B 157 of 255 = 62%
R + G + B ~ 52%. #A64A9D is middle color (not dark and not light).
R + G + B =
166 + 74 + 157 = 397 (100%)
R 166 of 397 ~ 41.81%
G 74 of 397 ~ 18.64%
B 157 of 397 ~ 39.55%
#A64A9D color CMYK value is (0,55,5,35).
CMYK: (0,55,5,35) C0M55Y5K35 (0%,55%,5%,35%) (0.00/0.55/0.05/0.35)
A6 | 4A | 9D | |
---|---|---|---|
RGB | 166 | 74 | 157 |
HSL | 306° | 38.33% | 47.06% |
HSB/HSV | 306° | 55.42% | 65.10% |
CMYK | 0.00% | 55.42% | 5.42% |
34.90% |
HEX | A6 | 4A | 9D |
Decimal | 166 | 74 | 157 |
Binary | 10100110 | 1001010 | 10011101 |
Octal | 246 | 112 | 235 |
Examples of css and html codes for elements with #A64A9D color. Also use rgb(166,74,157) instead hex code.
.myTextColor { color: #A64A9D; }
<p style="color:#A64A9D">This sample text font color is #A64A9D.</p>
This text font color is #A64A9D.
.myBgColor { background-color: #A64A9D; }
<div style="background-color:#A64A9D">Inner text</div>
This div background color is #A64A9D.
.myBorderColor { border: 1px solid #A64A9D; }
<div style="border:3px solid #A64A9D">Div</div>
This div border color is #A64A9D.
.myOpacity80 { color: #A64A9D; opacity: 0.8; }
<p style="color:#A64A9D;opacity:0.8;">80%</p>
Text with #A64A9D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A64A9D;}
<p style="text-shadow: 3px 3px 1px #A64A9D">Text here.</p>
This text has shadow with #A64A9D color.
.textShadow {text-shadow: 3px 3px 1px #A64A9D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A64A9D, 5px 5px 20px red">Text here.</p>
This text has shadow with #A64A9D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A64A9D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A64A9D, Direction=45, Strength=4)">Text</p>
This text has shadow with #A64A9D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A64A9D; -webkit-box-shadow: 1px 1px 3px 2px #A64A9D; box-shadow: 1px 1px 3px 2px #A64A9D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A64A9D; -webkit-box-shadow: 1px 1px 3px 2px #A64A9D; box-shadow:1px 1px 3px 2px #A64A9D;">
Div content here</div>
This text has color #A64A9D on black background.
This text has color #A64A9D on white background.
This text has black color on #A64A9D background.
This text has white color on #A64A9D background.