HEX: #AB17AF
RGB: (171,23,175)
#AB17AF contains mainly red and blue colors. Web safe color of #AB17AF is #990099 (or #909).
#AB17AF color RGB value is (171,23,175).
RGB: (171,23,175) (67%,9%,69%)
R 171 of 255 = 67%
G 23 of 255 = 9%
B 175 of 255 = 69%
R + G + B ~ 48%. #AB17AF is middle color (not dark and not light).
R + G + B =
171 + 23 + 175 = 369 (100%)
R 171 of 369 ~ 46.34%
G 23 of 369 ~ 6.23%
B 175 of 369 ~ 47.43%
#AB17AF color CMYK value is (2,87,0,31).
CMYK: (2,87,0,31) C2M87Y0K31 (2%,87%,0%,31%) (0.02/0.87/0.00/0.31)
AB | 17 | AF | |
---|---|---|---|
RGB | 171 | 23 | 175 |
HSL | 298° | 76.77% | 38.82% |
HSB/HSV | 298° | 86.86% | 68.63% |
CMYK | 2.29% | 86.86% | 0.00% |
31.37% |
HEX | AB | 17 | AF |
Decimal | 171 | 23 | 175 |
Binary | 10101011 | 10111 | 10101111 |
Octal | 253 | 27 | 257 |
Examples of css and html codes for elements with #AB17AF color. Also use rgb(171,23,175) instead hex code.
.myTextColor { color: #AB17AF; }
<p style="color:#AB17AF">This sample text font color is #AB17AF.</p>
This text font color is #AB17AF.
.myBgColor { background-color: #AB17AF; }
<div style="background-color:#AB17AF">Inner text</div>
This div background color is #AB17AF.
.myBorderColor { border: 1px solid #AB17AF; }
<div style="border:3px solid #AB17AF">Div</div>
This div border color is #AB17AF.
.myOpacity80 { color: #AB17AF; opacity: 0.8; }
<p style="color:#AB17AF;opacity:0.8;">80%</p>
Text with #AB17AF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB17AF;}
<p style="text-shadow: 3px 3px 1px #AB17AF">Text here.</p>
This text has shadow with #AB17AF color.
.textShadow {text-shadow: 3px 3px 1px #AB17AF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB17AF, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB17AF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB17AF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB17AF, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB17AF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB17AF; -webkit-box-shadow: 1px 1px 3px 2px #AB17AF; box-shadow: 1px 1px 3px 2px #AB17AF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB17AF; -webkit-box-shadow: 1px 1px 3px 2px #AB17AF; box-shadow:1px 1px 3px 2px #AB17AF;">
Div content here</div>
This text has color #AB17AF on black background.
This text has color #AB17AF on white background.
This text has black color on #AB17AF background.
This text has white color on #AB17AF background.