HEX: #AB4576
RGB: (171,69,118)
#AB4576 contains mainly red and blue colors. Web safe color of #AB4576 is #993366 (or #936).
#AB4576 color RGB value is (171,69,118).
RGB: (171,69,118) (67%,27%,46%)
R 171 of 255 = 67%
G 69 of 255 = 27%
B 118 of 255 = 46%
R + G + B ~ 47%. #AB4576 is middle color (not dark and not light).
R + G + B =
171 + 69 + 118 = 358 (100%)
R 171 of 358 ~ 47.77%
G 69 of 358 ~ 19.27%
B 118 of 358 ~ 32.96%
#AB4576 color CMYK value is (0,60,31,33).
CMYK: (0,60,31,33) C0M60Y31K33 (0%,60%,31%,33%) (0.00/0.60/0.31/0.33)
AB | 45 | 76 | |
---|---|---|---|
RGB | 171 | 69 | 118 |
HSL | 331° | 42.50% | 47.06% |
HSB/HSV | 331° | 59.65% | 67.06% |
CMYK | 0.00% | 59.65% | 30.99% |
32.94% |
HEX | AB | 45 | 76 |
Decimal | 171 | 69 | 118 |
Binary | 10101011 | 1000101 | 1110110 |
Octal | 253 | 105 | 166 |
Examples of css and html codes for elements with #AB4576 color. Also use rgb(171,69,118) instead hex code.
.myTextColor { color: #AB4576; }
<p style="color:#AB4576">This sample text font color is #AB4576.</p>
This text font color is #AB4576.
.myBgColor { background-color: #AB4576; }
<div style="background-color:#AB4576">Inner text</div>
This div background color is #AB4576.
.myBorderColor { border: 1px solid #AB4576; }
<div style="border:3px solid #AB4576">Div</div>
This div border color is #AB4576.
.myOpacity80 { color: #AB4576; opacity: 0.8; }
<p style="color:#AB4576;opacity:0.8;">80%</p>
Text with #AB4576 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB4576;}
<p style="text-shadow: 3px 3px 1px #AB4576">Text here.</p>
This text has shadow with #AB4576 color.
.textShadow {text-shadow: 3px 3px 1px #AB4576, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB4576, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB4576 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB4576, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB4576, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB4576 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB4576; -webkit-box-shadow: 1px 1px 3px 2px #AB4576; box-shadow: 1px 1px 3px 2px #AB4576; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB4576; -webkit-box-shadow: 1px 1px 3px 2px #AB4576; box-shadow:1px 1px 3px 2px #AB4576;">
Div content here</div>
This text has color #AB4576 on black background.
This text has color #AB4576 on white background.
This text has black color on #AB4576 background.
This text has white color on #AB4576 background.