HEX: #A17AB1
RGB: (161,122,177)
#A17AB1 contains red, green and blue colors in about the same proportion. Web safe color of #A17AB1 is #996699 (or #969).
#A17AB1 color RGB value is (161,122,177).
RGB: (161,122,177) (63%,48%,69%)
R 161 of 255 = 63%
G 122 of 255 = 48%
B 177 of 255 = 69%
R + G + B ~ 60%. #A17AB1 is middle color (not dark and not light).
R + G + B =
161 + 122 + 177 = 460 (100%)
R 161 of 460 ~ 35%
G 122 of 460 ~ 26.52%
B 177 of 460 ~ 38.48%
#A17AB1 color CMYK value is (9,31,0,31).
CMYK: (9,31,0,31) C9M31Y0K31 (9%,31%,0%,31%) (0.09/0.31/0.00/0.31)
A1 | 7A | B1 | |
---|---|---|---|
RGB | 161 | 122 | 177 |
HSL | 283° | 26.07% | 58.63% |
HSB/HSV | 283° | 31.07% | 69.41% |
CMYK | 9.04% | 31.07% | 0.00% |
30.59% |
HEX | A1 | 7A | B1 |
Decimal | 161 | 122 | 177 |
Binary | 10100001 | 1111010 | 10110001 |
Octal | 241 | 172 | 261 |
Examples of css and html codes for elements with #A17AB1 color. Also use rgb(161,122,177) instead hex code.
.myTextColor { color: #A17AB1; }
<p style="color:#A17AB1">This sample text font color is #A17AB1.</p>
This text font color is #A17AB1.
.myBgColor { background-color: #A17AB1; }
<div style="background-color:#A17AB1">Inner text</div>
This div background color is #A17AB1.
.myBorderColor { border: 1px solid #A17AB1; }
<div style="border:3px solid #A17AB1">Div</div>
This div border color is #A17AB1.
.myOpacity80 { color: #A17AB1; opacity: 0.8; }
<p style="color:#A17AB1;opacity:0.8;">80%</p>
Text with #A17AB1 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A17AB1;}
<p style="text-shadow: 3px 3px 1px #A17AB1">Text here.</p>
This text has shadow with #A17AB1 color.
.textShadow {text-shadow: 3px 3px 1px #A17AB1, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A17AB1, 5px 5px 20px red">Text here.</p>
This text has shadow with #A17AB1 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A17AB1, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A17AB1, Direction=45, Strength=4)">Text</p>
This text has shadow with #A17AB1 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A17AB1; -webkit-box-shadow: 1px 1px 3px 2px #A17AB1; box-shadow: 1px 1px 3px 2px #A17AB1; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A17AB1; -webkit-box-shadow: 1px 1px 3px 2px #A17AB1; box-shadow:1px 1px 3px 2px #A17AB1;">
Div content here</div>
This text has color #A17AB1 on black background.
This text has color #A17AB1 on white background.
This text has black color on #A17AB1 background.
This text has white color on #A17AB1 background.