HEX: #AB7BE1
RGB: (171,123,225)
#AB7BE1 contains mainly red and blue colors. Web safe color of #AB7BE1 is #9966CC (or #96C).
#AB7BE1 color RGB value is (171,123,225).
RGB: (171,123,225) (67%,48%,88%)
R 171 of 255 = 67%
G 123 of 255 = 48%
B 225 of 255 = 88%
R + G + B ~ 68%. #AB7BE1 is quite light color.
R + G + B =
171 + 123 + 225 = 519 (100%)
R 171 of 519 ~ 32.95%
G 123 of 519 ~ 23.7%
B 225 of 519 ~ 43.35%
#AB7BE1 color CMYK value is (24,45,0,12).
CMYK: (24,45,0,12) C24M45Y0K12 (24%,45%,0%,12%) (0.24/0.45/0.00/0.12)
AB | 7B | E1 | |
---|---|---|---|
RGB | 171 | 123 | 225 |
HSL | 268° | 62.96% | 68.24% |
HSB/HSV | 268° | 45.33% | 88.24% |
CMYK | 24.00% | 45.33% | 0.00% |
11.76% |
HEX | AB | 7B | E1 |
Decimal | 171 | 123 | 225 |
Binary | 10101011 | 1111011 | 11100001 |
Octal | 253 | 173 | 341 |
Examples of css and html codes for elements with #AB7BE1 color. Also use rgb(171,123,225) instead hex code.
.myTextColor { color: #AB7BE1; }
<p style="color:#AB7BE1">This sample text font color is #AB7BE1.</p>
This text font color is #AB7BE1.
.myBgColor { background-color: #AB7BE1; }
<div style="background-color:#AB7BE1">Inner text</div>
This div background color is #AB7BE1.
.myBorderColor { border: 1px solid #AB7BE1; }
<div style="border:3px solid #AB7BE1">Div</div>
This div border color is #AB7BE1.
.myOpacity80 { color: #AB7BE1; opacity: 0.8; }
<p style="color:#AB7BE1;opacity:0.8;">80%</p>
Text with #AB7BE1 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB7BE1;}
<p style="text-shadow: 3px 3px 1px #AB7BE1">Text here.</p>
This text has shadow with #AB7BE1 color.
.textShadow {text-shadow: 3px 3px 1px #AB7BE1, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB7BE1, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB7BE1 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB7BE1, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB7BE1, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB7BE1 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB7BE1; -webkit-box-shadow: 1px 1px 3px 2px #AB7BE1; box-shadow: 1px 1px 3px 2px #AB7BE1; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB7BE1; -webkit-box-shadow: 1px 1px 3px 2px #AB7BE1; box-shadow:1px 1px 3px 2px #AB7BE1;">
Div content here</div>
This text has color #AB7BE1 on black background.
This text has color #AB7BE1 on white background.
This text has black color on #AB7BE1 background.
This text has white color on #AB7BE1 background.