HEX: #AB00AB
RGB: (171,0,171)
#AB00AB contains only red and blue colors. Web safe color of #AB00AB is #990099 (or #909).
#AB00AB color RGB value is (171,0,171).
RGB: (171,0,171) (67%,0%,67%)
R 171 of 255 = 67%
G 0 of 255 = 0%
B 171 of 255 = 67%
R + G + B ~ 45%. #AB00AB is middle color (not dark and not light).
R + G + B =
171 + 0 + 171 = 342 (100%)
R 171 of 342 ~ 50%
G 0 of 342 ~ 0%
B 171 of 342 ~ 50%
#AB00AB color CMYK value is (0,100,0,33).
CMYK: (0,100,0,33) C0M100Y0K33 (0%,100%,0%,33%) (0.00/1.00/0.00/0.33)
AB | 00 | AB | |
---|---|---|---|
RGB | 171 | 0 | 171 |
HSL | 300° | 100.00% | 33.53% |
HSB/HSV | 300° | 100.00% | 67.06% |
CMYK | 0.00% | 100.00% | 0.00% |
32.94% |
HEX | AB | 00 | AB |
Decimal | 171 | 0 | 171 |
Binary | 10101011 | 0 | 10101011 |
Octal | 253 | 0 | 253 |
Examples of css and html codes for elements with #AB00AB color. Also use rgb(171,0,171) instead hex code.
.myTextColor { color: #AB00AB; }
<p style="color:#AB00AB">This sample text font color is #AB00AB.</p>
This text font color is #AB00AB.
.myBgColor { background-color: #AB00AB; }
<div style="background-color:#AB00AB">Inner text</div>
This div background color is #AB00AB.
.myBorderColor { border: 1px solid #AB00AB; }
<div style="border:3px solid #AB00AB">Div</div>
This div border color is #AB00AB.
.myOpacity80 { color: #AB00AB; opacity: 0.8; }
<p style="color:#AB00AB;opacity:0.8;">80%</p>
Text with #AB00AB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB00AB;}
<p style="text-shadow: 3px 3px 1px #AB00AB">Text here.</p>
This text has shadow with #AB00AB color.
.textShadow {text-shadow: 3px 3px 1px #AB00AB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB00AB, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB00AB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB00AB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB00AB, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB00AB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB00AB; -webkit-box-shadow: 1px 1px 3px 2px #AB00AB; box-shadow: 1px 1px 3px 2px #AB00AB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB00AB; -webkit-box-shadow: 1px 1px 3px 2px #AB00AB; box-shadow:1px 1px 3px 2px #AB00AB;">
Div content here</div>
This text has color #AB00AB on black background.
This text has color #AB00AB on white background.
This text has black color on #AB00AB background.
This text has white color on #AB00AB background.