HEX: #A46F9D
RGB: (164,111,157)
#A46F9D contains red, green and blue colors in about the same proportion. Web safe color of #A46F9D is #996699 (or #969).
#A46F9D color RGB value is (164,111,157).
RGB: (164,111,157) (64%,44%,62%)
R 164 of 255 = 64%
G 111 of 255 = 44%
B 157 of 255 = 62%
R + G + B ~ 57%. #A46F9D is middle color (not dark and not light).
R + G + B =
164 + 111 + 157 = 432 (100%)
R 164 of 432 ~ 37.96%
G 111 of 432 ~ 25.69%
B 157 of 432 ~ 36.34%
#A46F9D color CMYK value is (0,32,4,36).
CMYK: (0,32,4,36) C0M32Y4K36 (0%,32%,4%,36%) (0.00/0.32/0.04/0.36)
A4 | 6F | 9D | |
---|---|---|---|
RGB | 164 | 111 | 157 |
HSL | 308° | 22.55% | 53.92% |
HSB/HSV | 308° | 32.32% | 64.31% |
CMYK | 0.00% | 32.32% | 4.27% |
35.69% |
HEX | A4 | 6F | 9D |
Decimal | 164 | 111 | 157 |
Binary | 10100100 | 1101111 | 10011101 |
Octal | 244 | 157 | 235 |
Examples of css and html codes for elements with #A46F9D color. Also use rgb(164,111,157) instead hex code.
.myTextColor { color: #A46F9D; }
<p style="color:#A46F9D">This sample text font color is #A46F9D.</p>
This text font color is #A46F9D.
.myBgColor { background-color: #A46F9D; }
<div style="background-color:#A46F9D">Inner text</div>
This div background color is #A46F9D.
.myBorderColor { border: 1px solid #A46F9D; }
<div style="border:3px solid #A46F9D">Div</div>
This div border color is #A46F9D.
.myOpacity80 { color: #A46F9D; opacity: 0.8; }
<p style="color:#A46F9D;opacity:0.8;">80%</p>
Text with #A46F9D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A46F9D;}
<p style="text-shadow: 3px 3px 1px #A46F9D">Text here.</p>
This text has shadow with #A46F9D color.
.textShadow {text-shadow: 3px 3px 1px #A46F9D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A46F9D, 5px 5px 20px red">Text here.</p>
This text has shadow with #A46F9D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A46F9D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A46F9D, Direction=45, Strength=4)">Text</p>
This text has shadow with #A46F9D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A46F9D; -webkit-box-shadow: 1px 1px 3px 2px #A46F9D; box-shadow: 1px 1px 3px 2px #A46F9D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A46F9D; -webkit-box-shadow: 1px 1px 3px 2px #A46F9D; box-shadow:1px 1px 3px 2px #A46F9D;">
Div content here</div>
This text has color #A46F9D on black background.
This text has color #A46F9D on white background.
This text has black color on #A46F9D background.
This text has white color on #A46F9D background.