HEX: #AB579B
RGB: (171,87,155)
#AB579B contains mainly red and blue colors. Web safe color of #AB579B is #996699 (or #969).
#AB579B color RGB value is (171,87,155).
RGB: (171,87,155) (67%,34%,61%)
R 171 of 255 = 67%
G 87 of 255 = 34%
B 155 of 255 = 61%
R + G + B ~ 54%. #AB579B is middle color (not dark and not light).
R + G + B =
171 + 87 + 155 = 413 (100%)
R 171 of 413 ~ 41.4%
G 87 of 413 ~ 21.07%
B 155 of 413 ~ 37.53%
#AB579B color CMYK value is (0,49,9,33).
CMYK: (0,49,9,33) C0M49Y9K33 (0%,49%,9%,33%) (0.00/0.49/0.09/0.33)
AB | 57 | 9B | |
---|---|---|---|
RGB | 171 | 87 | 155 |
HSL | 311° | 33.33% | 50.59% |
HSB/HSV | 311° | 49.12% | 67.06% |
CMYK | 0.00% | 49.12% | 9.36% |
32.94% |
HEX | AB | 57 | 9B |
Decimal | 171 | 87 | 155 |
Binary | 10101011 | 1010111 | 10011011 |
Octal | 253 | 127 | 233 |
Examples of css and html codes for elements with #AB579B color. Also use rgb(171,87,155) instead hex code.
.myTextColor { color: #AB579B; }
<p style="color:#AB579B">This sample text font color is #AB579B.</p>
This text font color is #AB579B.
.myBgColor { background-color: #AB579B; }
<div style="background-color:#AB579B">Inner text</div>
This div background color is #AB579B.
.myBorderColor { border: 1px solid #AB579B; }
<div style="border:3px solid #AB579B">Div</div>
This div border color is #AB579B.
.myOpacity80 { color: #AB579B; opacity: 0.8; }
<p style="color:#AB579B;opacity:0.8;">80%</p>
Text with #AB579B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB579B;}
<p style="text-shadow: 3px 3px 1px #AB579B">Text here.</p>
This text has shadow with #AB579B color.
.textShadow {text-shadow: 3px 3px 1px #AB579B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB579B, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB579B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB579B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB579B, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB579B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB579B; -webkit-box-shadow: 1px 1px 3px 2px #AB579B; box-shadow: 1px 1px 3px 2px #AB579B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB579B; -webkit-box-shadow: 1px 1px 3px 2px #AB579B; box-shadow:1px 1px 3px 2px #AB579B;">
Div content here</div>
This text has color #AB579B on black background.
This text has color #AB579B on white background.
This text has black color on #AB579B background.
This text has white color on #AB579B background.