HEX: #AB6F8E
RGB: (171,111,142)
#AB6F8E contains mainly red and blue colors. Web safe color of #AB6F8E is #996699 (or #969).
#AB6F8E color RGB value is (171,111,142).
RGB: (171,111,142) (67%,44%,56%)
R 171 of 255 = 67%
G 111 of 255 = 44%
B 142 of 255 = 56%
R + G + B ~ 56%. #AB6F8E is middle color (not dark and not light).
R + G + B =
171 + 111 + 142 = 424 (100%)
R 171 of 424 ~ 40.33%
G 111 of 424 ~ 26.18%
B 142 of 424 ~ 33.49%
#AB6F8E color CMYK value is (0,35,17,33).
CMYK: (0,35,17,33) C0M35Y17K33 (0%,35%,17%,33%) (0.00/0.35/0.17/0.33)
AB | 6F | 8E | |
---|---|---|---|
RGB | 171 | 111 | 142 |
HSL | 329° | 26.32% | 55.29% |
HSB/HSV | 329° | 35.09% | 67.06% |
CMYK | 0.00% | 35.09% | 16.96% |
32.94% |
HEX | AB | 6F | 8E |
Decimal | 171 | 111 | 142 |
Binary | 10101011 | 1101111 | 10001110 |
Octal | 253 | 157 | 216 |
Examples of css and html codes for elements with #AB6F8E color. Also use rgb(171,111,142) instead hex code.
.myTextColor { color: #AB6F8E; }
<p style="color:#AB6F8E">This sample text font color is #AB6F8E.</p>
This text font color is #AB6F8E.
.myBgColor { background-color: #AB6F8E; }
<div style="background-color:#AB6F8E">Inner text</div>
This div background color is #AB6F8E.
.myBorderColor { border: 1px solid #AB6F8E; }
<div style="border:3px solid #AB6F8E">Div</div>
This div border color is #AB6F8E.
.myOpacity80 { color: #AB6F8E; opacity: 0.8; }
<p style="color:#AB6F8E;opacity:0.8;">80%</p>
Text with #AB6F8E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB6F8E;}
<p style="text-shadow: 3px 3px 1px #AB6F8E">Text here.</p>
This text has shadow with #AB6F8E color.
.textShadow {text-shadow: 3px 3px 1px #AB6F8E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB6F8E, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB6F8E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB6F8E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB6F8E, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB6F8E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB6F8E; -webkit-box-shadow: 1px 1px 3px 2px #AB6F8E; box-shadow: 1px 1px 3px 2px #AB6F8E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB6F8E; -webkit-box-shadow: 1px 1px 3px 2px #AB6F8E; box-shadow:1px 1px 3px 2px #AB6F8E;">
Div content here</div>
This text has color #AB6F8E on black background.
This text has color #AB6F8E on white background.
This text has black color on #AB6F8E background.
This text has white color on #AB6F8E background.