HEX: #AB98DE
RGB: (171,152,222)
#AB98DE contains mainly red and blue colors. Web safe color of #AB98DE is #9999CC (or #99C).
#AB98DE color RGB value is (171,152,222).
RGB: (171,152,222) (67%,60%,87%)
R 171 of 255 = 67%
G 152 of 255 = 60%
B 222 of 255 = 87%
R + G + B ~ 71%. #AB98DE is quite light color.
R + G + B =
171 + 152 + 222 = 545 (100%)
R 171 of 545 ~ 31.38%
G 152 of 545 ~ 27.89%
B 222 of 545 ~ 40.73%
#AB98DE color CMYK value is (23,32,0,13).
CMYK: (23,32,0,13) C23M32Y0K13 (23%,32%,0%,13%) (0.23/0.32/0.00/0.13)
AB | 98 | DE | |
---|---|---|---|
RGB | 171 | 152 | 222 |
HSL | 256° | 51.47% | 73.33% |
HSB/HSV | 256° | 31.53% | 87.06% |
CMYK | 22.97% | 31.53% | 0.00% |
12.94% |
HEX | AB | 98 | DE |
Decimal | 171 | 152 | 222 |
Binary | 10101011 | 10011000 | 11011110 |
Octal | 253 | 230 | 336 |
Examples of css and html codes for elements with #AB98DE color. Also use rgb(171,152,222) instead hex code.
.myTextColor { color: #AB98DE; }
<p style="color:#AB98DE">This sample text font color is #AB98DE.</p>
This text font color is #AB98DE.
.myBgColor { background-color: #AB98DE; }
<div style="background-color:#AB98DE">Inner text</div>
This div background color is #AB98DE.
.myBorderColor { border: 1px solid #AB98DE; }
<div style="border:3px solid #AB98DE">Div</div>
This div border color is #AB98DE.
.myOpacity80 { color: #AB98DE; opacity: 0.8; }
<p style="color:#AB98DE;opacity:0.8;">80%</p>
Text with #AB98DE color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB98DE;}
<p style="text-shadow: 3px 3px 1px #AB98DE">Text here.</p>
This text has shadow with #AB98DE color.
.textShadow {text-shadow: 3px 3px 1px #AB98DE, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB98DE, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB98DE primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB98DE, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB98DE, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB98DE and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB98DE; -webkit-box-shadow: 1px 1px 3px 2px #AB98DE; box-shadow: 1px 1px 3px 2px #AB98DE; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB98DE; -webkit-box-shadow: 1px 1px 3px 2px #AB98DE; box-shadow:1px 1px 3px 2px #AB98DE;">
Div content here</div>
This text has color #AB98DE on black background.
This text has color #AB98DE on white background.
This text has black color on #AB98DE background.
This text has white color on #AB98DE background.