HEX: #AB57FF
RGB: (171,87,255)
#AB57FF contains mainly blue color. Web safe color of #AB57FF is #9966FF (or #96F).
#AB57FF color RGB value is (171,87,255).
RGB: (171,87,255) (67%,34%,100%)
R 171 of 255 = 67%
G 87 of 255 = 34%
B 255 of 255 = 100%
R + G + B ~ 67%. #AB57FF is quite light color.
R + G + B =
171 + 87 + 255 = 513 (100%)
R 171 of 513 ~ 33.33%
G 87 of 513 ~ 16.96%
B 255 of 513 ~ 49.71%
#AB57FF color CMYK value is (33,66,0,0).
CMYK: (33,66,0,0) C33M66Y0K0 (33%,66%,0%,0%) (0.33/0.66/0.00/0.00)
AB | 57 | FF | |
---|---|---|---|
RGB | 171 | 87 | 255 |
HSL | 270° | 100.00% | 67.06% |
HSB/HSV | 270° | 65.88% | 100.00% |
CMYK | 32.94% | 65.88% | 0.00% |
0.00% |
HEX | AB | 57 | FF |
Decimal | 171 | 87 | 255 |
Binary | 10101011 | 1010111 | 11111111 |
Octal | 253 | 127 | 377 |
Examples of css and html codes for elements with #AB57FF color. Also use rgb(171,87,255) instead hex code.
.myTextColor { color: #AB57FF; }
<p style="color:#AB57FF">This sample text font color is #AB57FF.</p>
This text font color is #AB57FF.
.myBgColor { background-color: #AB57FF; }
<div style="background-color:#AB57FF">Inner text</div>
This div background color is #AB57FF.
.myBorderColor { border: 1px solid #AB57FF; }
<div style="border:3px solid #AB57FF">Div</div>
This div border color is #AB57FF.
.myOpacity80 { color: #AB57FF; opacity: 0.8; }
<p style="color:#AB57FF;opacity:0.8;">80%</p>
Text with #AB57FF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB57FF;}
<p style="text-shadow: 3px 3px 1px #AB57FF">Text here.</p>
This text has shadow with #AB57FF color.
.textShadow {text-shadow: 3px 3px 1px #AB57FF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB57FF, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB57FF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB57FF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB57FF, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB57FF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB57FF; -webkit-box-shadow: 1px 1px 3px 2px #AB57FF; box-shadow: 1px 1px 3px 2px #AB57FF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB57FF; -webkit-box-shadow: 1px 1px 3px 2px #AB57FF; box-shadow:1px 1px 3px 2px #AB57FF;">
Div content here</div>
This text has color #AB57FF on black background.
This text has color #AB57FF on white background.
This text has black color on #AB57FF background.
This text has white color on #AB57FF background.