HEX: #AB6A9B
RGB: (171,106,155)
#AB6A9B contains mainly red and blue colors. Web safe color of #AB6A9B is #996699 (or #969).
#AB6A9B color RGB value is (171,106,155).
RGB: (171,106,155) (67%,42%,61%)
R 171 of 255 = 67%
G 106 of 255 = 42%
B 155 of 255 = 61%
R + G + B ~ 57%. #AB6A9B is middle color (not dark and not light).
R + G + B =
171 + 106 + 155 = 432 (100%)
R 171 of 432 ~ 39.58%
G 106 of 432 ~ 24.54%
B 155 of 432 ~ 35.88%
#AB6A9B color CMYK value is (0,38,9,33).
CMYK: (0,38,9,33) C0M38Y9K33 (0%,38%,9%,33%) (0.00/0.38/0.09/0.33)
AB | 6A | 9B | |
---|---|---|---|
RGB | 171 | 106 | 155 |
HSL | 315° | 27.90% | 54.31% |
HSB/HSV | 315° | 38.01% | 67.06% |
CMYK | 0.00% | 38.01% | 9.36% |
32.94% |
HEX | AB | 6A | 9B |
Decimal | 171 | 106 | 155 |
Binary | 10101011 | 1101010 | 10011011 |
Octal | 253 | 152 | 233 |
Examples of css and html codes for elements with #AB6A9B color. Also use rgb(171,106,155) instead hex code.
.myTextColor { color: #AB6A9B; }
<p style="color:#AB6A9B">This sample text font color is #AB6A9B.</p>
This text font color is #AB6A9B.
.myBgColor { background-color: #AB6A9B; }
<div style="background-color:#AB6A9B">Inner text</div>
This div background color is #AB6A9B.
.myBorderColor { border: 1px solid #AB6A9B; }
<div style="border:3px solid #AB6A9B">Div</div>
This div border color is #AB6A9B.
.myOpacity80 { color: #AB6A9B; opacity: 0.8; }
<p style="color:#AB6A9B;opacity:0.8;">80%</p>
Text with #AB6A9B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB6A9B;}
<p style="text-shadow: 3px 3px 1px #AB6A9B">Text here.</p>
This text has shadow with #AB6A9B color.
.textShadow {text-shadow: 3px 3px 1px #AB6A9B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB6A9B, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB6A9B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB6A9B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB6A9B, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB6A9B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB6A9B; -webkit-box-shadow: 1px 1px 3px 2px #AB6A9B; box-shadow: 1px 1px 3px 2px #AB6A9B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB6A9B; -webkit-box-shadow: 1px 1px 3px 2px #AB6A9B; box-shadow:1px 1px 3px 2px #AB6A9B;">
Div content here</div>
This text has color #AB6A9B on black background.
This text has color #AB6A9B on white background.
This text has black color on #AB6A9B background.
This text has white color on #AB6A9B background.