HEX: #AB2193
RGB: (171,33,147)
#AB2193 contains mainly red and blue colors. Web safe color of #AB2193 is #993399 (or #939).
#AB2193 color RGB value is (171,33,147).
RGB: (171,33,147) (67%,13%,58%)
R 171 of 255 = 67%
G 33 of 255 = 13%
B 147 of 255 = 58%
R + G + B ~ 46%. #AB2193 is middle color (not dark and not light).
R + G + B =
171 + 33 + 147 = 351 (100%)
R 171 of 351 ~ 48.72%
G 33 of 351 ~ 9.4%
B 147 of 351 ~ 41.88%
#AB2193 color CMYK value is (0,81,14,33).
CMYK: (0,81,14,33) C0M81Y14K33 (0%,81%,14%,33%) (0.00/0.81/0.14/0.33)
AB | 21 | 93 | |
---|---|---|---|
RGB | 171 | 33 | 147 |
HSL | 310° | 67.65% | 40.00% |
HSB/HSV | 310° | 80.70% | 67.06% |
CMYK | 0.00% | 80.70% | 14.04% |
32.94% |
HEX | AB | 21 | 93 |
Decimal | 171 | 33 | 147 |
Binary | 10101011 | 100001 | 10010011 |
Octal | 253 | 41 | 223 |
Examples of css and html codes for elements with #AB2193 color. Also use rgb(171,33,147) instead hex code.
.myTextColor { color: #AB2193; }
<p style="color:#AB2193">This sample text font color is #AB2193.</p>
This text font color is #AB2193.
.myBgColor { background-color: #AB2193; }
<div style="background-color:#AB2193">Inner text</div>
This div background color is #AB2193.
.myBorderColor { border: 1px solid #AB2193; }
<div style="border:3px solid #AB2193">Div</div>
This div border color is #AB2193.
.myOpacity80 { color: #AB2193; opacity: 0.8; }
<p style="color:#AB2193;opacity:0.8;">80%</p>
Text with #AB2193 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB2193;}
<p style="text-shadow: 3px 3px 1px #AB2193">Text here.</p>
This text has shadow with #AB2193 color.
.textShadow {text-shadow: 3px 3px 1px #AB2193, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB2193, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB2193 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB2193, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB2193, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB2193 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB2193; -webkit-box-shadow: 1px 1px 3px 2px #AB2193; box-shadow: 1px 1px 3px 2px #AB2193; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB2193; -webkit-box-shadow: 1px 1px 3px 2px #AB2193; box-shadow:1px 1px 3px 2px #AB2193;">
Div content here</div>
This text has color #AB2193 on black background.
This text has color #AB2193 on white background.
This text has black color on #AB2193 background.
This text has white color on #AB2193 background.