HEX: #AB429C
RGB: (171,66,156)
#AB429C contains mainly red and blue colors. Web safe color of #AB429C is #993399 (or #939).
#AB429C color RGB value is (171,66,156).
RGB: (171,66,156) (67%,26%,61%)
R 171 of 255 = 67%
G 66 of 255 = 26%
B 156 of 255 = 61%
R + G + B ~ 51%. #AB429C is middle color (not dark and not light).
R + G + B =
171 + 66 + 156 = 393 (100%)
R 171 of 393 ~ 43.51%
G 66 of 393 ~ 16.79%
B 156 of 393 ~ 39.69%
#AB429C color CMYK value is (0,61,9,33).
CMYK: (0,61,9,33) C0M61Y9K33 (0%,61%,9%,33%) (0.00/0.61/0.09/0.33)
AB | 42 | 9C | |
---|---|---|---|
RGB | 171 | 66 | 156 |
HSL | 309° | 44.30% | 46.47% |
HSB/HSV | 309° | 61.40% | 67.06% |
CMYK | 0.00% | 61.40% | 8.77% |
32.94% |
HEX | AB | 42 | 9C |
Decimal | 171 | 66 | 156 |
Binary | 10101011 | 1000010 | 10011100 |
Octal | 253 | 102 | 234 |
Examples of css and html codes for elements with #AB429C color. Also use rgb(171,66,156) instead hex code.
.myTextColor { color: #AB429C; }
<p style="color:#AB429C">This sample text font color is #AB429C.</p>
This text font color is #AB429C.
.myBgColor { background-color: #AB429C; }
<div style="background-color:#AB429C">Inner text</div>
This div background color is #AB429C.
.myBorderColor { border: 1px solid #AB429C; }
<div style="border:3px solid #AB429C">Div</div>
This div border color is #AB429C.
.myOpacity80 { color: #AB429C; opacity: 0.8; }
<p style="color:#AB429C;opacity:0.8;">80%</p>
Text with #AB429C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB429C;}
<p style="text-shadow: 3px 3px 1px #AB429C">Text here.</p>
This text has shadow with #AB429C color.
.textShadow {text-shadow: 3px 3px 1px #AB429C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB429C, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB429C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB429C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB429C, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB429C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB429C; -webkit-box-shadow: 1px 1px 3px 2px #AB429C; box-shadow: 1px 1px 3px 2px #AB429C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB429C; -webkit-box-shadow: 1px 1px 3px 2px #AB429C; box-shadow:1px 1px 3px 2px #AB429C;">
Div content here</div>
This text has color #AB429C on black background.
This text has color #AB429C on white background.
This text has black color on #AB429C background.
This text has white color on #AB429C background.