HEX: #AB4CA0
RGB: (171,76,160)
#AB4CA0 contains mainly red and blue colors. Web safe color of #AB4CA0 is #993399 (or #939).
#AB4CA0 color RGB value is (171,76,160).
RGB: (171,76,160) (67%,30%,63%)
R 171 of 255 = 67%
G 76 of 255 = 30%
B 160 of 255 = 63%
R + G + B ~ 53%. #AB4CA0 is middle color (not dark and not light).
R + G + B =
171 + 76 + 160 = 407 (100%)
R 171 of 407 ~ 42.01%
G 76 of 407 ~ 18.67%
B 160 of 407 ~ 39.31%
#AB4CA0 color CMYK value is (0,56,6,33).
CMYK: (0,56,6,33) C0M56Y6K33 (0%,56%,6%,33%) (0.00/0.56/0.06/0.33)
AB | 4C | A0 | |
---|---|---|---|
RGB | 171 | 76 | 160 |
HSL | 307° | 38.46% | 48.43% |
HSB/HSV | 307° | 55.56% | 67.06% |
CMYK | 0.00% | 55.56% | 6.43% |
32.94% |
HEX | AB | 4C | A0 |
Decimal | 171 | 76 | 160 |
Binary | 10101011 | 1001100 | 10100000 |
Octal | 253 | 114 | 240 |
Examples of css and html codes for elements with #AB4CA0 color. Also use rgb(171,76,160) instead hex code.
.myTextColor { color: #AB4CA0; }
<p style="color:#AB4CA0">This sample text font color is #AB4CA0.</p>
This text font color is #AB4CA0.
.myBgColor { background-color: #AB4CA0; }
<div style="background-color:#AB4CA0">Inner text</div>
This div background color is #AB4CA0.
.myBorderColor { border: 1px solid #AB4CA0; }
<div style="border:3px solid #AB4CA0">Div</div>
This div border color is #AB4CA0.
.myOpacity80 { color: #AB4CA0; opacity: 0.8; }
<p style="color:#AB4CA0;opacity:0.8;">80%</p>
Text with #AB4CA0 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB4CA0;}
<p style="text-shadow: 3px 3px 1px #AB4CA0">Text here.</p>
This text has shadow with #AB4CA0 color.
.textShadow {text-shadow: 3px 3px 1px #AB4CA0, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB4CA0, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB4CA0 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB4CA0, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB4CA0, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB4CA0 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB4CA0; -webkit-box-shadow: 1px 1px 3px 2px #AB4CA0; box-shadow: 1px 1px 3px 2px #AB4CA0; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB4CA0; -webkit-box-shadow: 1px 1px 3px 2px #AB4CA0; box-shadow:1px 1px 3px 2px #AB4CA0;">
Div content here</div>
This text has color #AB4CA0 on black background.
This text has color #AB4CA0 on white background.
This text has black color on #AB4CA0 background.
This text has white color on #AB4CA0 background.