HEX: #AB4B7B
RGB: (171,75,123)
#AB4B7B contains mainly red and blue colors. Web safe color of #AB4B7B is #993366 (or #936).
#AB4B7B color RGB value is (171,75,123).
RGB: (171,75,123) (67%,29%,48%)
R 171 of 255 = 67%
G 75 of 255 = 29%
B 123 of 255 = 48%
R + G + B ~ 48%. #AB4B7B is middle color (not dark and not light).
R + G + B =
171 + 75 + 123 = 369 (100%)
R 171 of 369 ~ 46.34%
G 75 of 369 ~ 20.33%
B 123 of 369 ~ 33.33%
#AB4B7B color CMYK value is (0,56,28,33).
CMYK: (0,56,28,33) C0M56Y28K33 (0%,56%,28%,33%) (0.00/0.56/0.28/0.33)
AB | 4B | 7B | |
---|---|---|---|
RGB | 171 | 75 | 123 |
HSL | 330° | 39.02% | 48.24% |
HSB/HSV | 330° | 56.14% | 67.06% |
CMYK | 0.00% | 56.14% | 28.07% |
32.94% |
HEX | AB | 4B | 7B |
Decimal | 171 | 75 | 123 |
Binary | 10101011 | 1001011 | 1111011 |
Octal | 253 | 113 | 173 |
Examples of css and html codes for elements with #AB4B7B color. Also use rgb(171,75,123) instead hex code.
.myTextColor { color: #AB4B7B; }
<p style="color:#AB4B7B">This sample text font color is #AB4B7B.</p>
This text font color is #AB4B7B.
.myBgColor { background-color: #AB4B7B; }
<div style="background-color:#AB4B7B">Inner text</div>
This div background color is #AB4B7B.
.myBorderColor { border: 1px solid #AB4B7B; }
<div style="border:3px solid #AB4B7B">Div</div>
This div border color is #AB4B7B.
.myOpacity80 { color: #AB4B7B; opacity: 0.8; }
<p style="color:#AB4B7B;opacity:0.8;">80%</p>
Text with #AB4B7B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB4B7B;}
<p style="text-shadow: 3px 3px 1px #AB4B7B">Text here.</p>
This text has shadow with #AB4B7B color.
.textShadow {text-shadow: 3px 3px 1px #AB4B7B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB4B7B, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB4B7B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB4B7B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB4B7B, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB4B7B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB4B7B; -webkit-box-shadow: 1px 1px 3px 2px #AB4B7B; box-shadow: 1px 1px 3px 2px #AB4B7B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB4B7B; -webkit-box-shadow: 1px 1px 3px 2px #AB4B7B; box-shadow:1px 1px 3px 2px #AB4B7B;">
Div content here</div>
This text has color #AB4B7B on black background.
This text has color #AB4B7B on white background.
This text has black color on #AB4B7B background.
This text has white color on #AB4B7B background.