HEX: #AB4C7D
RGB: (171,76,125)
#AB4C7D contains mainly red and blue colors. Web safe color of #AB4C7D is #993366 (or #936).
#AB4C7D color RGB value is (171,76,125).
RGB: (171,76,125) (67%,30%,49%)
R 171 of 255 = 67%
G 76 of 255 = 30%
B 125 of 255 = 49%
R + G + B ~ 49%. #AB4C7D is middle color (not dark and not light).
R + G + B =
171 + 76 + 125 = 372 (100%)
R 171 of 372 ~ 45.97%
G 76 of 372 ~ 20.43%
B 125 of 372 ~ 33.6%
#AB4C7D color CMYK value is (0,56,27,33).
CMYK: (0,56,27,33) C0M56Y27K33 (0%,56%,27%,33%) (0.00/0.56/0.27/0.33)
AB | 4C | 7D | |
---|---|---|---|
RGB | 171 | 76 | 125 |
HSL | 329° | 38.46% | 48.43% |
HSB/HSV | 329° | 55.56% | 67.06% |
CMYK | 0.00% | 55.56% | 26.90% |
32.94% |
HEX | AB | 4C | 7D |
Decimal | 171 | 76 | 125 |
Binary | 10101011 | 1001100 | 1111101 |
Octal | 253 | 114 | 175 |
Examples of css and html codes for elements with #AB4C7D color. Also use rgb(171,76,125) instead hex code.
.myTextColor { color: #AB4C7D; }
<p style="color:#AB4C7D">This sample text font color is #AB4C7D.</p>
This text font color is #AB4C7D.
.myBgColor { background-color: #AB4C7D; }
<div style="background-color:#AB4C7D">Inner text</div>
This div background color is #AB4C7D.
.myBorderColor { border: 1px solid #AB4C7D; }
<div style="border:3px solid #AB4C7D">Div</div>
This div border color is #AB4C7D.
.myOpacity80 { color: #AB4C7D; opacity: 0.8; }
<p style="color:#AB4C7D;opacity:0.8;">80%</p>
Text with #AB4C7D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB4C7D;}
<p style="text-shadow: 3px 3px 1px #AB4C7D">Text here.</p>
This text has shadow with #AB4C7D color.
.textShadow {text-shadow: 3px 3px 1px #AB4C7D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB4C7D, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB4C7D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB4C7D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB4C7D, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB4C7D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB4C7D; -webkit-box-shadow: 1px 1px 3px 2px #AB4C7D; box-shadow: 1px 1px 3px 2px #AB4C7D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB4C7D; -webkit-box-shadow: 1px 1px 3px 2px #AB4C7D; box-shadow:1px 1px 3px 2px #AB4C7D;">
Div content here</div>
This text has color #AB4C7D on black background.
This text has color #AB4C7D on white background.
This text has black color on #AB4C7D background.
This text has white color on #AB4C7D background.