HEX: #AB6497
RGB: (171,100,151)
#AB6497 contains mainly red and blue colors. Web safe color of #AB6497 is #996699 (or #969).
#AB6497 color RGB value is (171,100,151).
RGB: (171,100,151) (67%,39%,59%)
R 171 of 255 = 67%
G 100 of 255 = 39%
B 151 of 255 = 59%
R + G + B ~ 55%. #AB6497 is middle color (not dark and not light).
R + G + B =
171 + 100 + 151 = 422 (100%)
R 171 of 422 ~ 40.52%
G 100 of 422 ~ 23.7%
B 151 of 422 ~ 35.78%
#AB6497 color CMYK value is (0,42,12,33).
CMYK: (0,42,12,33) C0M42Y12K33 (0%,42%,12%,33%) (0.00/0.42/0.12/0.33)
AB | 64 | 97 | |
---|---|---|---|
RGB | 171 | 100 | 151 |
HSL | 317° | 29.71% | 53.14% |
HSB/HSV | 317° | 41.52% | 67.06% |
CMYK | 0.00% | 41.52% | 11.70% |
32.94% |
HEX | AB | 64 | 97 |
Decimal | 171 | 100 | 151 |
Binary | 10101011 | 1100100 | 10010111 |
Octal | 253 | 144 | 227 |
Examples of css and html codes for elements with #AB6497 color. Also use rgb(171,100,151) instead hex code.
.myTextColor { color: #AB6497; }
<p style="color:#AB6497">This sample text font color is #AB6497.</p>
This text font color is #AB6497.
.myBgColor { background-color: #AB6497; }
<div style="background-color:#AB6497">Inner text</div>
This div background color is #AB6497.
.myBorderColor { border: 1px solid #AB6497; }
<div style="border:3px solid #AB6497">Div</div>
This div border color is #AB6497.
.myOpacity80 { color: #AB6497; opacity: 0.8; }
<p style="color:#AB6497;opacity:0.8;">80%</p>
Text with #AB6497 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB6497;}
<p style="text-shadow: 3px 3px 1px #AB6497">Text here.</p>
This text has shadow with #AB6497 color.
.textShadow {text-shadow: 3px 3px 1px #AB6497, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB6497, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB6497 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB6497, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB6497, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB6497 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB6497; -webkit-box-shadow: 1px 1px 3px 2px #AB6497; box-shadow: 1px 1px 3px 2px #AB6497; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB6497; -webkit-box-shadow: 1px 1px 3px 2px #AB6497; box-shadow:1px 1px 3px 2px #AB6497;">
Div content here</div>
This text has color #AB6497 on black background.
This text has color #AB6497 on white background.
This text has black color on #AB6497 background.
This text has white color on #AB6497 background.