HEX: #AB53B0
RGB: (171,83,176)
#AB53B0 contains mainly red and blue colors. Web safe color of #AB53B0 is #996699 (or #969).
#AB53B0 color RGB value is (171,83,176).
RGB: (171,83,176) (67%,33%,69%)
R 171 of 255 = 67%
G 83 of 255 = 33%
B 176 of 255 = 69%
R + G + B ~ 56%. #AB53B0 is middle color (not dark and not light).
R + G + B =
171 + 83 + 176 = 430 (100%)
R 171 of 430 ~ 39.77%
G 83 of 430 ~ 19.3%
B 176 of 430 ~ 40.93%
#AB53B0 color CMYK value is (3,53,0,31).
CMYK: (3,53,0,31) C3M53Y0K31 (3%,53%,0%,31%) (0.03/0.53/0.00/0.31)
AB | 53 | B0 | |
---|---|---|---|
RGB | 171 | 83 | 176 |
HSL | 297° | 37.05% | 50.78% |
HSB/HSV | 297° | 52.84% | 69.02% |
CMYK | 2.84% | 52.84% | 0.00% |
30.98% |
HEX | AB | 53 | B0 |
Decimal | 171 | 83 | 176 |
Binary | 10101011 | 1010011 | 10110000 |
Octal | 253 | 123 | 260 |
Examples of css and html codes for elements with #AB53B0 color. Also use rgb(171,83,176) instead hex code.
.myTextColor { color: #AB53B0; }
<p style="color:#AB53B0">This sample text font color is #AB53B0.</p>
This text font color is #AB53B0.
.myBgColor { background-color: #AB53B0; }
<div style="background-color:#AB53B0">Inner text</div>
This div background color is #AB53B0.
.myBorderColor { border: 1px solid #AB53B0; }
<div style="border:3px solid #AB53B0">Div</div>
This div border color is #AB53B0.
.myOpacity80 { color: #AB53B0; opacity: 0.8; }
<p style="color:#AB53B0;opacity:0.8;">80%</p>
Text with #AB53B0 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB53B0;}
<p style="text-shadow: 3px 3px 1px #AB53B0">Text here.</p>
This text has shadow with #AB53B0 color.
.textShadow {text-shadow: 3px 3px 1px #AB53B0, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB53B0, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB53B0 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB53B0, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB53B0, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB53B0 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB53B0; -webkit-box-shadow: 1px 1px 3px 2px #AB53B0; box-shadow: 1px 1px 3px 2px #AB53B0; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB53B0; -webkit-box-shadow: 1px 1px 3px 2px #AB53B0; box-shadow:1px 1px 3px 2px #AB53B0;">
Div content here</div>
This text has color #AB53B0 on black background.
This text has color #AB53B0 on white background.
This text has black color on #AB53B0 background.
This text has white color on #AB53B0 background.