HEX: #AB80E0
RGB: (171,128,224)
#AB80E0 contains mainly red and blue colors. Web safe color of #AB80E0 is #9966CC (or #96C).
#AB80E0 color RGB value is (171,128,224).
RGB: (171,128,224) (67%,50%,88%)
R 171 of 255 = 67%
G 128 of 255 = 50%
B 224 of 255 = 88%
R + G + B ~ 68%. #AB80E0 is quite light color.
R + G + B =
171 + 128 + 224 = 523 (100%)
R 171 of 523 ~ 32.7%
G 128 of 523 ~ 24.47%
B 224 of 523 ~ 42.83%
#AB80E0 color CMYK value is (24,43,0,12).
CMYK: (24,43,0,12) C24M43Y0K12 (24%,43%,0%,12%) (0.24/0.43/0.00/0.12)
AB | 80 | E0 | |
---|---|---|---|
RGB | 171 | 128 | 224 |
HSL | 267° | 60.76% | 69.02% |
HSB/HSV | 267° | 42.86% | 87.84% |
CMYK | 23.66% | 42.86% | 0.00% |
12.16% |
HEX | AB | 80 | E0 |
Decimal | 171 | 128 | 224 |
Binary | 10101011 | 10000000 | 11100000 |
Octal | 253 | 200 | 340 |
Examples of css and html codes for elements with #AB80E0 color. Also use rgb(171,128,224) instead hex code.
.myTextColor { color: #AB80E0; }
<p style="color:#AB80E0">This sample text font color is #AB80E0.</p>
This text font color is #AB80E0.
.myBgColor { background-color: #AB80E0; }
<div style="background-color:#AB80E0">Inner text</div>
This div background color is #AB80E0.
.myBorderColor { border: 1px solid #AB80E0; }
<div style="border:3px solid #AB80E0">Div</div>
This div border color is #AB80E0.
.myOpacity80 { color: #AB80E0; opacity: 0.8; }
<p style="color:#AB80E0;opacity:0.8;">80%</p>
Text with #AB80E0 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB80E0;}
<p style="text-shadow: 3px 3px 1px #AB80E0">Text here.</p>
This text has shadow with #AB80E0 color.
.textShadow {text-shadow: 3px 3px 1px #AB80E0, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB80E0, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB80E0 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB80E0, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB80E0, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB80E0 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB80E0; -webkit-box-shadow: 1px 1px 3px 2px #AB80E0; box-shadow: 1px 1px 3px 2px #AB80E0; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB80E0; -webkit-box-shadow: 1px 1px 3px 2px #AB80E0; box-shadow:1px 1px 3px 2px #AB80E0;">
Div content here</div>
This text has color #AB80E0 on black background.
This text has color #AB80E0 on white background.
This text has black color on #AB80E0 background.
This text has white color on #AB80E0 background.