HEX: #AB4EAD
RGB: (171,78,173)
#AB4EAD contains mainly red and blue colors. Web safe color of #AB4EAD is #996699 (or #969).
#AB4EAD color RGB value is (171,78,173).
RGB: (171,78,173) (67%,31%,68%)
R 171 of 255 = 67%
G 78 of 255 = 31%
B 173 of 255 = 68%
R + G + B ~ 55%. #AB4EAD is middle color (not dark and not light).
R + G + B =
171 + 78 + 173 = 422 (100%)
R 171 of 422 ~ 40.52%
G 78 of 422 ~ 18.48%
B 173 of 422 ~ 41%
#AB4EAD color CMYK value is (1,55,0,32).
CMYK: (1,55,0,32) C1M55Y0K32 (1%,55%,0%,32%) (0.01/0.55/0.00/0.32)
AB | 4E | AD | |
---|---|---|---|
RGB | 171 | 78 | 173 |
HSL | 299° | 37.85% | 49.22% |
HSB/HSV | 299° | 54.91% | 67.84% |
CMYK | 1.16% | 54.91% | 0.00% |
32.16% |
HEX | AB | 4E | AD |
Decimal | 171 | 78 | 173 |
Binary | 10101011 | 1001110 | 10101101 |
Octal | 253 | 116 | 255 |
Examples of css and html codes for elements with #AB4EAD color. Also use rgb(171,78,173) instead hex code.
.myTextColor { color: #AB4EAD; }
<p style="color:#AB4EAD">This sample text font color is #AB4EAD.</p>
This text font color is #AB4EAD.
.myBgColor { background-color: #AB4EAD; }
<div style="background-color:#AB4EAD">Inner text</div>
This div background color is #AB4EAD.
.myBorderColor { border: 1px solid #AB4EAD; }
<div style="border:3px solid #AB4EAD">Div</div>
This div border color is #AB4EAD.
.myOpacity80 { color: #AB4EAD; opacity: 0.8; }
<p style="color:#AB4EAD;opacity:0.8;">80%</p>
Text with #AB4EAD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB4EAD;}
<p style="text-shadow: 3px 3px 1px #AB4EAD">Text here.</p>
This text has shadow with #AB4EAD color.
.textShadow {text-shadow: 3px 3px 1px #AB4EAD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB4EAD, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB4EAD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB4EAD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB4EAD, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB4EAD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB4EAD; -webkit-box-shadow: 1px 1px 3px 2px #AB4EAD; box-shadow: 1px 1px 3px 2px #AB4EAD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB4EAD; -webkit-box-shadow: 1px 1px 3px 2px #AB4EAD; box-shadow:1px 1px 3px 2px #AB4EAD;">
Div content here</div>
This text has color #AB4EAD on black background.
This text has color #AB4EAD on white background.
This text has black color on #AB4EAD background.
This text has white color on #AB4EAD background.