HEX: #AB757D
RGB: (171,117,125)
#AB757D contains red, green and blue colors in about the same proportion. Web safe color of #AB757D is #996666 (or #966).
#AB757D color RGB value is (171,117,125).
RGB: (171,117,125) (67%,46%,49%)
R 171 of 255 = 67%
G 117 of 255 = 46%
B 125 of 255 = 49%
R + G + B ~ 54%. #AB757D is middle color (not dark and not light).
R + G + B =
171 + 117 + 125 = 413 (100%)
R 171 of 413 ~ 41.4%
G 117 of 413 ~ 28.33%
B 125 of 413 ~ 30.27%
#AB757D color CMYK value is (0,32,27,33).
CMYK: (0,32,27,33) C0M32Y27K33 (0%,32%,27%,33%) (0.00/0.32/0.27/0.33)
AB | 75 | 7D | |
---|---|---|---|
RGB | 171 | 117 | 125 |
HSL | 351° | 24.32% | 56.47% |
HSB/HSV | 351° | 31.58% | 67.06% |
CMYK | 0.00% | 31.58% | 26.90% |
32.94% |
HEX | AB | 75 | 7D |
Decimal | 171 | 117 | 125 |
Binary | 10101011 | 1110101 | 1111101 |
Octal | 253 | 165 | 175 |
Examples of css and html codes for elements with #AB757D color. Also use rgb(171,117,125) instead hex code.
.myTextColor { color: #AB757D; }
<p style="color:#AB757D">This sample text font color is #AB757D.</p>
This text font color is #AB757D.
.myBgColor { background-color: #AB757D; }
<div style="background-color:#AB757D">Inner text</div>
This div background color is #AB757D.
.myBorderColor { border: 1px solid #AB757D; }
<div style="border:3px solid #AB757D">Div</div>
This div border color is #AB757D.
.myOpacity80 { color: #AB757D; opacity: 0.8; }
<p style="color:#AB757D;opacity:0.8;">80%</p>
Text with #AB757D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB757D;}
<p style="text-shadow: 3px 3px 1px #AB757D">Text here.</p>
This text has shadow with #AB757D color.
.textShadow {text-shadow: 3px 3px 1px #AB757D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB757D, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB757D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB757D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB757D, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB757D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB757D; -webkit-box-shadow: 1px 1px 3px 2px #AB757D; box-shadow: 1px 1px 3px 2px #AB757D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB757D; -webkit-box-shadow: 1px 1px 3px 2px #AB757D; box-shadow:1px 1px 3px 2px #AB757D;">
Div content here</div>
This text has color #AB757D on black background.
This text has color #AB757D on white background.
This text has black color on #AB757D background.
This text has white color on #AB757D background.