HEX: #AB6AB8
RGB: (171,106,184)
#AB6AB8 contains mainly red and blue colors. Web safe color of #AB6AB8 is #9966CC (or #96C).
#AB6AB8 color RGB value is (171,106,184).
RGB: (171,106,184) (67%,42%,72%)
R 171 of 255 = 67%
G 106 of 255 = 42%
B 184 of 255 = 72%
R + G + B ~ 60%. #AB6AB8 is middle color (not dark and not light).
R + G + B =
171 + 106 + 184 = 461 (100%)
R 171 of 461 ~ 37.09%
G 106 of 461 ~ 22.99%
B 184 of 461 ~ 39.91%
#AB6AB8 color CMYK value is (7,42,0,28).
CMYK: (7,42,0,28) C7M42Y0K28 (7%,42%,0%,28%) (0.07/0.42/0.00/0.28)
AB | 6A | B8 | |
---|---|---|---|
RGB | 171 | 106 | 184 |
HSL | 290° | 35.45% | 56.86% |
HSB/HSV | 290° | 42.39% | 72.16% |
CMYK | 7.07% | 42.39% | 0.00% |
27.84% |
HEX | AB | 6A | B8 |
Decimal | 171 | 106 | 184 |
Binary | 10101011 | 1101010 | 10111000 |
Octal | 253 | 152 | 270 |
Examples of css and html codes for elements with #AB6AB8 color. Also use rgb(171,106,184) instead hex code.
.myTextColor { color: #AB6AB8; }
<p style="color:#AB6AB8">This sample text font color is #AB6AB8.</p>
This text font color is #AB6AB8.
.myBgColor { background-color: #AB6AB8; }
<div style="background-color:#AB6AB8">Inner text</div>
This div background color is #AB6AB8.
.myBorderColor { border: 1px solid #AB6AB8; }
<div style="border:3px solid #AB6AB8">Div</div>
This div border color is #AB6AB8.
.myOpacity80 { color: #AB6AB8; opacity: 0.8; }
<p style="color:#AB6AB8;opacity:0.8;">80%</p>
Text with #AB6AB8 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB6AB8;}
<p style="text-shadow: 3px 3px 1px #AB6AB8">Text here.</p>
This text has shadow with #AB6AB8 color.
.textShadow {text-shadow: 3px 3px 1px #AB6AB8, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB6AB8, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB6AB8 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB6AB8, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB6AB8, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB6AB8 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB6AB8; -webkit-box-shadow: 1px 1px 3px 2px #AB6AB8; box-shadow: 1px 1px 3px 2px #AB6AB8; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB6AB8; -webkit-box-shadow: 1px 1px 3px 2px #AB6AB8; box-shadow:1px 1px 3px 2px #AB6AB8;">
Div content here</div>
This text has color #AB6AB8 on black background.
This text has color #AB6AB8 on white background.
This text has black color on #AB6AB8 background.
This text has white color on #AB6AB8 background.