HEX: #AB8FB6
RGB: (171,143,182)
#AB8FB6 contains red, green and blue colors in about the same proportion. Web safe color of #AB8FB6 is #9999CC (or #99C).
#AB8FB6 color RGB value is (171,143,182).
RGB: (171,143,182) (67%,56%,71%)
R 171 of 255 = 67%
G 143 of 255 = 56%
B 182 of 255 = 71%
R + G + B ~ 65%. #AB8FB6 is quite light color.
R + G + B =
171 + 143 + 182 = 496 (100%)
R 171 of 496 ~ 34.48%
G 143 of 496 ~ 28.83%
B 182 of 496 ~ 36.69%
#AB8FB6 color CMYK value is (6,21,0,29).
CMYK: (6,21,0,29) C6M21Y0K29 (6%,21%,0%,29%) (0.06/0.21/0.00/0.29)
AB | 8F | B6 | |
---|---|---|---|
RGB | 171 | 143 | 182 |
HSL | 283° | 21.08% | 63.73% |
HSB/HSV | 283° | 21.43% | 71.37% |
CMYK | 6.04% | 21.43% | 0.00% |
28.63% |
HEX | AB | 8F | B6 |
Decimal | 171 | 143 | 182 |
Binary | 10101011 | 10001111 | 10110110 |
Octal | 253 | 217 | 266 |
Examples of css and html codes for elements with #AB8FB6 color. Also use rgb(171,143,182) instead hex code.
.myTextColor { color: #AB8FB6; }
<p style="color:#AB8FB6">This sample text font color is #AB8FB6.</p>
This text font color is #AB8FB6.
.myBgColor { background-color: #AB8FB6; }
<div style="background-color:#AB8FB6">Inner text</div>
This div background color is #AB8FB6.
.myBorderColor { border: 1px solid #AB8FB6; }
<div style="border:3px solid #AB8FB6">Div</div>
This div border color is #AB8FB6.
.myOpacity80 { color: #AB8FB6; opacity: 0.8; }
<p style="color:#AB8FB6;opacity:0.8;">80%</p>
Text with #AB8FB6 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB8FB6;}
<p style="text-shadow: 3px 3px 1px #AB8FB6">Text here.</p>
This text has shadow with #AB8FB6 color.
.textShadow {text-shadow: 3px 3px 1px #AB8FB6, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB8FB6, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB8FB6 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB8FB6, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB8FB6, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB8FB6 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB8FB6; -webkit-box-shadow: 1px 1px 3px 2px #AB8FB6; box-shadow: 1px 1px 3px 2px #AB8FB6; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB8FB6; -webkit-box-shadow: 1px 1px 3px 2px #AB8FB6; box-shadow:1px 1px 3px 2px #AB8FB6;">
Div content here</div>
This text has color #AB8FB6 on black background.
This text has color #AB8FB6 on white background.
This text has black color on #AB8FB6 background.
This text has white color on #AB8FB6 background.