HEX: #AB6EAF
RGB: (171,110,175)
#AB6EAF contains mainly red and blue colors. Web safe color of #AB6EAF is #996699 (or #969).
#AB6EAF color RGB value is (171,110,175).
RGB: (171,110,175) (67%,43%,69%)
R 171 of 255 = 67%
G 110 of 255 = 43%
B 175 of 255 = 69%
R + G + B ~ 60%. #AB6EAF is middle color (not dark and not light).
R + G + B =
171 + 110 + 175 = 456 (100%)
R 171 of 456 ~ 37.5%
G 110 of 456 ~ 24.12%
B 175 of 456 ~ 38.38%
#AB6EAF color CMYK value is (2,37,0,31).
CMYK: (2,37,0,31) C2M37Y0K31 (2%,37%,0%,31%) (0.02/0.37/0.00/0.31)
AB | 6E | AF | |
---|---|---|---|
RGB | 171 | 110 | 175 |
HSL | 296° | 28.89% | 55.88% |
HSB/HSV | 296° | 37.14% | 68.63% |
CMYK | 2.29% | 37.14% | 0.00% |
31.37% |
HEX | AB | 6E | AF |
Decimal | 171 | 110 | 175 |
Binary | 10101011 | 1101110 | 10101111 |
Octal | 253 | 156 | 257 |
Examples of css and html codes for elements with #AB6EAF color. Also use rgb(171,110,175) instead hex code.
.myTextColor { color: #AB6EAF; }
<p style="color:#AB6EAF">This sample text font color is #AB6EAF.</p>
This text font color is #AB6EAF.
.myBgColor { background-color: #AB6EAF; }
<div style="background-color:#AB6EAF">Inner text</div>
This div background color is #AB6EAF.
.myBorderColor { border: 1px solid #AB6EAF; }
<div style="border:3px solid #AB6EAF">Div</div>
This div border color is #AB6EAF.
.myOpacity80 { color: #AB6EAF; opacity: 0.8; }
<p style="color:#AB6EAF;opacity:0.8;">80%</p>
Text with #AB6EAF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB6EAF;}
<p style="text-shadow: 3px 3px 1px #AB6EAF">Text here.</p>
This text has shadow with #AB6EAF color.
.textShadow {text-shadow: 3px 3px 1px #AB6EAF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB6EAF, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB6EAF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB6EAF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB6EAF, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB6EAF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB6EAF; -webkit-box-shadow: 1px 1px 3px 2px #AB6EAF; box-shadow: 1px 1px 3px 2px #AB6EAF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB6EAF; -webkit-box-shadow: 1px 1px 3px 2px #AB6EAF; box-shadow:1px 1px 3px 2px #AB6EAF;">
Div content here</div>
This text has color #AB6EAF on black background.
This text has color #AB6EAF on white background.
This text has black color on #AB6EAF background.
This text has white color on #AB6EAF background.