HEX: #AB5A7C
RGB: (171,90,124)
#AB5A7C contains mainly red and blue colors. Web safe color of #AB5A7C is #996666 (or #966).
#AB5A7C color RGB value is (171,90,124).
RGB: (171,90,124)
(67%, 35%, 49%)
R 171 of 255 = 67%
G 90 of 255 = 35%
B 124 of 255 = 49%
R + G + B ~ 50%. #AB5A7C is middle color (not dark and not light).
R + G + B = 171 + 90 + 124 = 385 (100%)
R 171 of 385 ~ 44.42%
G 90 of 385 ~ 23.38%
B 124 of 385 ~ 32.21'%
#AB5A7C color CMYK value is (0,47,27,33).
CMYK: (0,47,27,33) C0M47Y27K33 (0%,47%,27%,33%) (0.00/0.47/0.27/0.33)
Color #AB5A7C in popluar color models
AB | 5A | 7C | |
---|---|---|---|
RGB | 171 | 90 | 124 |
HSL | 335° | 32.53% | 51.18% |
HSB/HSV | 335° | 47.37% | 67.06% |
CMYK | 0.00% | 47.37% | 27.49% |
32.94% |
Color #AB5A7C in popluar number systems.
HEX | AB | 5A | 7C |
Decimal | 171 | 90 | 124 |
Binary | 10101011 | 1011010 | 1111100 |
Octal | 253 | 132 | 174 |
Shades of #AB5A7C
Tints of #AB5A7C
Examples of css and html codes for elements with #AB5A7C color. Also use rgb(171,90,124) instead hex code.
.myTextColor { color: #AB5A7C; }
<p style="color:#AB5A7C">This sample text font color is #AB5A7C.</p>
This text font color is #AB5A7C.
.myBgColor { background-color: #AB5A7C; }
<div style="background-color:#AB5A7C">Inner text</div>
This div background color is #AB5A7C.
.myBorderColor { border: 1px solid #AB5A7C; }
<div style="border:3px solid #AB5A7C">Div</div>
This div border color is #AB5A7C.
.myOpacity80 { color: #AB5A7C; opacity: 0.8; }
<p style="color:#AB5A7C;opacity:0.8;">80%</p>
Text with #AB5A7C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB5A7C;}
<p style="text-shadow: 3px 3px 1px #AB5A7C">Text here.</p>
This text has shadow with #AB5A7C color.
.textShadow {text-shadow: 3px 3px 1px #AB5A7C', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB5A7C, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB5A7C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB5A7C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB5A7C, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB5A7C and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #AB5A7C;
-webkit-box-shadow: 1px 1px 3px 2px #AB5A7C;
box-shadow: 1px 1px 3px 2px #AB5A7C;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #AB5A7C; -webkit-box-shadow: 1px 1px 3px 2px #AB5A7C; box-shadow:1px 1px 3px 2px #AB5A7C;">
Div content here
</div>
This text has color #AB5A7C on black background.
This text has color #AB5A7C on white background.
This text has black color on #AB5A7C background.
This text has white color on #AB5A7C background.
Complementary color for #hex is #54A583.