HEX: #AB748F
RGB: (171,116,143)
#AB748F contains red, green and blue colors in about the same proportion. Web safe color of #AB748F is #996699 (or #969).
#AB748F color RGB value is (171,116,143).
RGB: (171,116,143) (67%,45%,56%)
R 171 of 255 = 67%
G 116 of 255 = 45%
B 143 of 255 = 56%
R + G + B ~ 56%. #AB748F is middle color (not dark and not light).
R + G + B =
171 + 116 + 143 = 430 (100%)
R 171 of 430 ~ 39.77%
G 116 of 430 ~ 26.98%
B 143 of 430 ~ 33.26%
#AB748F color CMYK value is (0,32,16,33).
CMYK: (0,32,16,33) C0M32Y16K33 (0%,32%,16%,33%) (0.00/0.32/0.16/0.33)
AB | 74 | 8F | |
---|---|---|---|
RGB | 171 | 116 | 143 |
HSL | 331° | 24.66% | 56.27% |
HSB/HSV | 331° | 32.16% | 67.06% |
CMYK | 0.00% | 32.16% | 16.37% |
32.94% |
HEX | AB | 74 | 8F |
Decimal | 171 | 116 | 143 |
Binary | 10101011 | 1110100 | 10001111 |
Octal | 253 | 164 | 217 |
Examples of css and html codes for elements with #AB748F color. Also use rgb(171,116,143) instead hex code.
.myTextColor { color: #AB748F; }
<p style="color:#AB748F">This sample text font color is #AB748F.</p>
This text font color is #AB748F.
.myBgColor { background-color: #AB748F; }
<div style="background-color:#AB748F">Inner text</div>
This div background color is #AB748F.
.myBorderColor { border: 1px solid #AB748F; }
<div style="border:3px solid #AB748F">Div</div>
This div border color is #AB748F.
.myOpacity80 { color: #AB748F; opacity: 0.8; }
<p style="color:#AB748F;opacity:0.8;">80%</p>
Text with #AB748F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB748F;}
<p style="text-shadow: 3px 3px 1px #AB748F">Text here.</p>
This text has shadow with #AB748F color.
.textShadow {text-shadow: 3px 3px 1px #AB748F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB748F, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB748F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB748F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB748F, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB748F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB748F; -webkit-box-shadow: 1px 1px 3px 2px #AB748F; box-shadow: 1px 1px 3px 2px #AB748F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB748F; -webkit-box-shadow: 1px 1px 3px 2px #AB748F; box-shadow:1px 1px 3px 2px #AB748F;">
Div content here</div>
This text has color #AB748F on black background.
This text has color #AB748F on white background.
This text has black color on #AB748F background.
This text has white color on #AB748F background.