HEX: #AB005C
RGB: (171,0,92)
#AB005C contains mainly red color. Web safe color of #AB005C is #990066 (or #906).
#AB005C color RGB value is (171,0,92).
RGB: (171,0,92) (67%,0%,36%)
R 171 of 255 = 67%
G 0 of 255 = 0%
B 92 of 255 = 36%
R + G + B ~ 34%. #AB005C is quite dark color.
R + G + B =
171 + 0 + 92 = 263 (100%)
R 171 of 263 ~ 65.02%
G 0 of 263 ~ 0%
B 92 of 263 ~ 34.98%
#AB005C color CMYK value is (0,100,46,33).
CMYK: (0,100,46,33) C0M100Y46K33 (0%,100%,46%,33%) (0.00/1.00/0.46/0.33)
AB | 00 | 5C | |
---|---|---|---|
RGB | 171 | 0 | 92 |
HSL | 328° | 100.00% | 33.53% |
HSB/HSV | 328° | 100.00% | 67.06% |
CMYK | 0.00% | 100.00% | 46.20% |
32.94% |
HEX | AB | 00 | 5C |
Decimal | 171 | 0 | 92 |
Binary | 10101011 | 0 | 1011100 |
Octal | 253 | 0 | 134 |
Examples of css and html codes for elements with #AB005C color. Also use rgb(171,0,92) instead hex code.
.myTextColor { color: #AB005C; }
<p style="color:#AB005C">This sample text font color is #AB005C.</p>
This text font color is #AB005C.
.myBgColor { background-color: #AB005C; }
<div style="background-color:#AB005C">Inner text</div>
This div background color is #AB005C.
.myBorderColor { border: 1px solid #AB005C; }
<div style="border:3px solid #AB005C">Div</div>
This div border color is #AB005C.
.myOpacity80 { color: #AB005C; opacity: 0.8; }
<p style="color:#AB005C;opacity:0.8;">80%</p>
Text with #AB005C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB005C;}
<p style="text-shadow: 3px 3px 1px #AB005C">Text here.</p>
This text has shadow with #AB005C color.
.textShadow {text-shadow: 3px 3px 1px #AB005C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB005C, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB005C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB005C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB005C, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB005C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB005C; -webkit-box-shadow: 1px 1px 3px 2px #AB005C; box-shadow: 1px 1px 3px 2px #AB005C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB005C; -webkit-box-shadow: 1px 1px 3px 2px #AB005C; box-shadow:1px 1px 3px 2px #AB005C;">
Div content here</div>
This text has color #AB005C on black background.
This text has color #AB005C on white background.
This text has black color on #AB005C background.
This text has white color on #AB005C background.