HEX: #AB9EF6
RGB: (171,158,246)
#AB9EF6 contains mainly blue color. Web safe color of #AB9EF6 is #9999FF (or #99F).
#AB9EF6 color RGB value is (171,158,246).
RGB: (171,158,246) (67%,62%,96%)
R 171 of 255 = 67%
G 158 of 255 = 62%
B 246 of 255 = 96%
R + G + B ~ 75%. #AB9EF6 is quite light color.
R + G + B =
171 + 158 + 246 = 575 (100%)
R 171 of 575 ~ 29.74%
G 158 of 575 ~ 27.48%
B 246 of 575 ~ 42.78%
#AB9EF6 color CMYK value is (30,36,0,4).
CMYK: (30,36,0,4) C30M36Y0K4 (30%,36%,0%,4%) (0.30/0.36/0.00/0.04)
AB | 9E | F6 | |
---|---|---|---|
RGB | 171 | 158 | 246 |
HSL | 249° | 83.02% | 79.22% |
HSB/HSV | 249° | 35.77% | 96.47% |
CMYK | 30.49% | 35.77% | 0.00% |
3.53% |
HEX | AB | 9E | F6 |
Decimal | 171 | 158 | 246 |
Binary | 10101011 | 10011110 | 11110110 |
Octal | 253 | 236 | 366 |
Examples of css and html codes for elements with #AB9EF6 color. Also use rgb(171,158,246) instead hex code.
.myTextColor { color: #AB9EF6; }
<p style="color:#AB9EF6">This sample text font color is #AB9EF6.</p>
This text font color is #AB9EF6.
.myBgColor { background-color: #AB9EF6; }
<div style="background-color:#AB9EF6">Inner text</div>
This div background color is #AB9EF6.
.myBorderColor { border: 1px solid #AB9EF6; }
<div style="border:3px solid #AB9EF6">Div</div>
This div border color is #AB9EF6.
.myOpacity80 { color: #AB9EF6; opacity: 0.8; }
<p style="color:#AB9EF6;opacity:0.8;">80%</p>
Text with #AB9EF6 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB9EF6;}
<p style="text-shadow: 3px 3px 1px #AB9EF6">Text here.</p>
This text has shadow with #AB9EF6 color.
.textShadow {text-shadow: 3px 3px 1px #AB9EF6, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB9EF6, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB9EF6 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB9EF6, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB9EF6, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB9EF6 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB9EF6; -webkit-box-shadow: 1px 1px 3px 2px #AB9EF6; box-shadow: 1px 1px 3px 2px #AB9EF6; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB9EF6; -webkit-box-shadow: 1px 1px 3px 2px #AB9EF6; box-shadow:1px 1px 3px 2px #AB9EF6;">
Div content here</div>
This text has color #AB9EF6 on black background.
This text has color #AB9EF6 on white background.
This text has black color on #AB9EF6 background.
This text has white color on #AB9EF6 background.