HEX: #AB5EB8
RGB: (171,94,184)
#AB5EB8 contains mainly red and blue colors. Web safe color of #AB5EB8 is #9966CC (or #96C).
#AB5EB8 color RGB value is (171,94,184).
RGB: (171,94,184) (67%,37%,72%)
R 171 of 255 = 67%
G 94 of 255 = 37%
B 184 of 255 = 72%
R + G + B ~ 59%. #AB5EB8 is middle color (not dark and not light).
R + G + B =
171 + 94 + 184 = 449 (100%)
R 171 of 449 ~ 38.08%
G 94 of 449 ~ 20.94%
B 184 of 449 ~ 40.98%
#AB5EB8 color CMYK value is (7,49,0,28).
CMYK: (7,49,0,28) C7M49Y0K28 (7%,49%,0%,28%) (0.07/0.49/0.00/0.28)
AB | 5E | B8 | |
---|---|---|---|
RGB | 171 | 94 | 184 |
HSL | 291° | 38.79% | 54.51% |
HSB/HSV | 291° | 48.91% | 72.16% |
CMYK | 7.07% | 48.91% | 0.00% |
27.84% |
HEX | AB | 5E | B8 |
Decimal | 171 | 94 | 184 |
Binary | 10101011 | 1011110 | 10111000 |
Octal | 253 | 136 | 270 |
Examples of css and html codes for elements with #AB5EB8 color. Also use rgb(171,94,184) instead hex code.
.myTextColor { color: #AB5EB8; }
<p style="color:#AB5EB8">This sample text font color is #AB5EB8.</p>
This text font color is #AB5EB8.
.myBgColor { background-color: #AB5EB8; }
<div style="background-color:#AB5EB8">Inner text</div>
This div background color is #AB5EB8.
.myBorderColor { border: 1px solid #AB5EB8; }
<div style="border:3px solid #AB5EB8">Div</div>
This div border color is #AB5EB8.
.myOpacity80 { color: #AB5EB8; opacity: 0.8; }
<p style="color:#AB5EB8;opacity:0.8;">80%</p>
Text with #AB5EB8 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB5EB8;}
<p style="text-shadow: 3px 3px 1px #AB5EB8">Text here.</p>
This text has shadow with #AB5EB8 color.
.textShadow {text-shadow: 3px 3px 1px #AB5EB8, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB5EB8, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB5EB8 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB5EB8, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB5EB8, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB5EB8 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB5EB8; -webkit-box-shadow: 1px 1px 3px 2px #AB5EB8; box-shadow: 1px 1px 3px 2px #AB5EB8; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB5EB8; -webkit-box-shadow: 1px 1px 3px 2px #AB5EB8; box-shadow:1px 1px 3px 2px #AB5EB8;">
Div content here</div>
This text has color #AB5EB8 on black background.
This text has color #AB5EB8 on white background.
This text has black color on #AB5EB8 background.
This text has white color on #AB5EB8 background.