HEX: #AB5F7A
RGB: (171,95,122)
#AB5F7A contains mainly red and blue colors. Web safe color of #AB5F7A is #996666 (or #966).
#AB5F7A color RGB value is (171,95,122).
RGB: (171,95,122) (67%,37%,48%)
R 171 of 255 = 67%
G 95 of 255 = 37%
B 122 of 255 = 48%
R + G + B ~ 51%. #AB5F7A is middle color (not dark and not light).
R + G + B =
171 + 95 + 122 = 388 (100%)
R 171 of 388 ~ 44.07%
G 95 of 388 ~ 24.48%
B 122 of 388 ~ 31.44%
#AB5F7A color CMYK value is (0,44,29,33).
CMYK: (0,44,29,33) C0M44Y29K33 (0%,44%,29%,33%) (0.00/0.44/0.29/0.33)
AB | 5F | 7A | |
---|---|---|---|
RGB | 171 | 95 | 122 |
HSL | 339° | 31.15% | 52.16% |
HSB/HSV | 339° | 44.44% | 67.06% |
CMYK | 0.00% | 44.44% | 28.65% |
32.94% |
HEX | AB | 5F | 7A |
Decimal | 171 | 95 | 122 |
Binary | 10101011 | 1011111 | 1111010 |
Octal | 253 | 137 | 172 |
Examples of css and html codes for elements with #AB5F7A color. Also use rgb(171,95,122) instead hex code.
.myTextColor { color: #AB5F7A; }
<p style="color:#AB5F7A">This sample text font color is #AB5F7A.</p>
This text font color is #AB5F7A.
.myBgColor { background-color: #AB5F7A; }
<div style="background-color:#AB5F7A">Inner text</div>
This div background color is #AB5F7A.
.myBorderColor { border: 1px solid #AB5F7A; }
<div style="border:3px solid #AB5F7A">Div</div>
This div border color is #AB5F7A.
.myOpacity80 { color: #AB5F7A; opacity: 0.8; }
<p style="color:#AB5F7A;opacity:0.8;">80%</p>
Text with #AB5F7A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB5F7A;}
<p style="text-shadow: 3px 3px 1px #AB5F7A">Text here.</p>
This text has shadow with #AB5F7A color.
.textShadow {text-shadow: 3px 3px 1px #AB5F7A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB5F7A, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB5F7A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB5F7A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB5F7A, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB5F7A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB5F7A; -webkit-box-shadow: 1px 1px 3px 2px #AB5F7A; box-shadow: 1px 1px 3px 2px #AB5F7A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB5F7A; -webkit-box-shadow: 1px 1px 3px 2px #AB5F7A; box-shadow:1px 1px 3px 2px #AB5F7A;">
Div content here</div>
This text has color #AB5F7A on black background.
This text has color #AB5F7A on white background.
This text has black color on #AB5F7A background.
This text has white color on #AB5F7A background.