HEX: #AB2D98
RGB: (171,45,152)
#AB2D98 contains mainly red and blue colors. Web safe color of #AB2D98 is #993399 (or #939).
#AB2D98 color RGB value is (171,45,152).
RGB: (171,45,152) (67%,18%,60%)
R 171 of 255 = 67%
G 45 of 255 = 18%
B 152 of 255 = 60%
R + G + B ~ 48%. #AB2D98 is middle color (not dark and not light).
R + G + B =
171 + 45 + 152 = 368 (100%)
R 171 of 368 ~ 46.47%
G 45 of 368 ~ 12.23%
B 152 of 368 ~ 41.3%
#AB2D98 color CMYK value is (0,74,11,33).
CMYK: (0,74,11,33) C0M74Y11K33 (0%,74%,11%,33%) (0.00/0.74/0.11/0.33)
AB | 2D | 98 | |
---|---|---|---|
RGB | 171 | 45 | 152 |
HSL | 309° | 58.33% | 42.35% |
HSB/HSV | 309° | 73.68% | 67.06% |
CMYK | 0.00% | 73.68% | 11.11% |
32.94% |
HEX | AB | 2D | 98 |
Decimal | 171 | 45 | 152 |
Binary | 10101011 | 101101 | 10011000 |
Octal | 253 | 55 | 230 |
Examples of css and html codes for elements with #AB2D98 color. Also use rgb(171,45,152) instead hex code.
.myTextColor { color: #AB2D98; }
<p style="color:#AB2D98">This sample text font color is #AB2D98.</p>
This text font color is #AB2D98.
.myBgColor { background-color: #AB2D98; }
<div style="background-color:#AB2D98">Inner text</div>
This div background color is #AB2D98.
.myBorderColor { border: 1px solid #AB2D98; }
<div style="border:3px solid #AB2D98">Div</div>
This div border color is #AB2D98.
.myOpacity80 { color: #AB2D98; opacity: 0.8; }
<p style="color:#AB2D98;opacity:0.8;">80%</p>
Text with #AB2D98 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB2D98;}
<p style="text-shadow: 3px 3px 1px #AB2D98">Text here.</p>
This text has shadow with #AB2D98 color.
.textShadow {text-shadow: 3px 3px 1px #AB2D98, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB2D98, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB2D98 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB2D98, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB2D98, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB2D98 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB2D98; -webkit-box-shadow: 1px 1px 3px 2px #AB2D98; box-shadow: 1px 1px 3px 2px #AB2D98; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB2D98; -webkit-box-shadow: 1px 1px 3px 2px #AB2D98; box-shadow:1px 1px 3px 2px #AB2D98;">
Div content here</div>
This text has color #AB2D98 on black background.
This text has color #AB2D98 on white background.
This text has black color on #AB2D98 background.
This text has white color on #AB2D98 background.