HEX: #AB6BB7
RGB: (171,107,183)
#AB6BB7 contains mainly red and blue colors. Web safe color of #AB6BB7 is #9966CC (or #96C).
#AB6BB7 color RGB value is (171,107,183).
RGB: (171,107,183) (67%,42%,72%)
R 171 of 255 = 67%
G 107 of 255 = 42%
B 183 of 255 = 72%
R + G + B ~ 60%. #AB6BB7 is middle color (not dark and not light).
R + G + B =
171 + 107 + 183 = 461 (100%)
R 171 of 461 ~ 37.09%
G 107 of 461 ~ 23.21%
B 183 of 461 ~ 39.7%
#AB6BB7 color CMYK value is (7,42,0,28).
CMYK: (7,42,0,28) C7M42Y0K28 (7%,42%,0%,28%) (0.07/0.42/0.00/0.28)
AB | 6B | B7 | |
---|---|---|---|
RGB | 171 | 107 | 183 |
HSL | 291° | 34.55% | 56.86% |
HSB/HSV | 291° | 41.53% | 71.76% |
CMYK | 6.56% | 41.53% | 0.00% |
28.24% |
HEX | AB | 6B | B7 |
Decimal | 171 | 107 | 183 |
Binary | 10101011 | 1101011 | 10110111 |
Octal | 253 | 153 | 267 |
Examples of css and html codes for elements with #AB6BB7 color. Also use rgb(171,107,183) instead hex code.
.myTextColor { color: #AB6BB7; }
<p style="color:#AB6BB7">This sample text font color is #AB6BB7.</p>
This text font color is #AB6BB7.
.myBgColor { background-color: #AB6BB7; }
<div style="background-color:#AB6BB7">Inner text</div>
This div background color is #AB6BB7.
.myBorderColor { border: 1px solid #AB6BB7; }
<div style="border:3px solid #AB6BB7">Div</div>
This div border color is #AB6BB7.
.myOpacity80 { color: #AB6BB7; opacity: 0.8; }
<p style="color:#AB6BB7;opacity:0.8;">80%</p>
Text with #AB6BB7 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB6BB7;}
<p style="text-shadow: 3px 3px 1px #AB6BB7">Text here.</p>
This text has shadow with #AB6BB7 color.
.textShadow {text-shadow: 3px 3px 1px #AB6BB7, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB6BB7, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB6BB7 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB6BB7, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB6BB7, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB6BB7 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB6BB7; -webkit-box-shadow: 1px 1px 3px 2px #AB6BB7; box-shadow: 1px 1px 3px 2px #AB6BB7; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB6BB7; -webkit-box-shadow: 1px 1px 3px 2px #AB6BB7; box-shadow:1px 1px 3px 2px #AB6BB7;">
Div content here</div>
This text has color #AB6BB7 on black background.
This text has color #AB6BB7 on white background.
This text has black color on #AB6BB7 background.
This text has white color on #AB6BB7 background.