HEX: #AB48B8
RGB: (171,72,184)
#AB48B8 contains mainly red and blue colors. Web safe color of #AB48B8 is #9933CC (or #93C).
#AB48B8 color RGB value is (171,72,184).
RGB: (171,72,184) (67%,28%,72%)
R 171 of 255 = 67%
G 72 of 255 = 28%
B 184 of 255 = 72%
R + G + B ~ 56%. #AB48B8 is middle color (not dark and not light).
R + G + B =
171 + 72 + 184 = 427 (100%)
R 171 of 427 ~ 40.05%
G 72 of 427 ~ 16.86%
B 184 of 427 ~ 43.09%
#AB48B8 color CMYK value is (7,61,0,28).
CMYK: (7,61,0,28) C7M61Y0K28 (7%,61%,0%,28%) (0.07/0.61/0.00/0.28)
AB | 48 | B8 | |
---|---|---|---|
RGB | 171 | 72 | 184 |
HSL | 293° | 44.09% | 50.20% |
HSB/HSV | 293° | 60.87% | 72.16% |
CMYK | 7.07% | 60.87% | 0.00% |
27.84% |
HEX | AB | 48 | B8 |
Decimal | 171 | 72 | 184 |
Binary | 10101011 | 1001000 | 10111000 |
Octal | 253 | 110 | 270 |
Examples of css and html codes for elements with #AB48B8 color. Also use rgb(171,72,184) instead hex code.
.myTextColor { color: #AB48B8; }
<p style="color:#AB48B8">This sample text font color is #AB48B8.</p>
This text font color is #AB48B8.
.myBgColor { background-color: #AB48B8; }
<div style="background-color:#AB48B8">Inner text</div>
This div background color is #AB48B8.
.myBorderColor { border: 1px solid #AB48B8; }
<div style="border:3px solid #AB48B8">Div</div>
This div border color is #AB48B8.
.myOpacity80 { color: #AB48B8; opacity: 0.8; }
<p style="color:#AB48B8;opacity:0.8;">80%</p>
Text with #AB48B8 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB48B8;}
<p style="text-shadow: 3px 3px 1px #AB48B8">Text here.</p>
This text has shadow with #AB48B8 color.
.textShadow {text-shadow: 3px 3px 1px #AB48B8, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB48B8, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB48B8 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB48B8, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB48B8, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB48B8 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB48B8; -webkit-box-shadow: 1px 1px 3px 2px #AB48B8; box-shadow: 1px 1px 3px 2px #AB48B8; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB48B8; -webkit-box-shadow: 1px 1px 3px 2px #AB48B8; box-shadow:1px 1px 3px 2px #AB48B8;">
Div content here</div>
This text has color #AB48B8 on black background.
This text has color #AB48B8 on white background.
This text has black color on #AB48B8 background.
This text has white color on #AB48B8 background.