HEX: #AB6296
RGB: (171,98,150)
#AB6296 contains mainly red and blue colors. Web safe color of #AB6296 is #996699 (or #969).
#AB6296 color RGB value is (171,98,150).
RGB: (171,98,150) (67%,38%,59%)
R 171 of 255 = 67%
G 98 of 255 = 38%
B 150 of 255 = 59%
R + G + B ~ 55%. #AB6296 is middle color (not dark and not light).
R + G + B =
171 + 98 + 150 = 419 (100%)
R 171 of 419 ~ 40.81%
G 98 of 419 ~ 23.39%
B 150 of 419 ~ 35.8%
#AB6296 color CMYK value is (0,43,12,33).
CMYK: (0,43,12,33) C0M43Y12K33 (0%,43%,12%,33%) (0.00/0.43/0.12/0.33)
AB | 62 | 96 | |
---|---|---|---|
RGB | 171 | 98 | 150 |
HSL | 317° | 30.29% | 52.75% |
HSB/HSV | 317° | 42.69% | 67.06% |
CMYK | 0.00% | 42.69% | 12.28% |
32.94% |
HEX | AB | 62 | 96 |
Decimal | 171 | 98 | 150 |
Binary | 10101011 | 1100010 | 10010110 |
Octal | 253 | 142 | 226 |
Examples of css and html codes for elements with #AB6296 color. Also use rgb(171,98,150) instead hex code.
.myTextColor { color: #AB6296; }
<p style="color:#AB6296">This sample text font color is #AB6296.</p>
This text font color is #AB6296.
.myBgColor { background-color: #AB6296; }
<div style="background-color:#AB6296">Inner text</div>
This div background color is #AB6296.
.myBorderColor { border: 1px solid #AB6296; }
<div style="border:3px solid #AB6296">Div</div>
This div border color is #AB6296.
.myOpacity80 { color: #AB6296; opacity: 0.8; }
<p style="color:#AB6296;opacity:0.8;">80%</p>
Text with #AB6296 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB6296;}
<p style="text-shadow: 3px 3px 1px #AB6296">Text here.</p>
This text has shadow with #AB6296 color.
.textShadow {text-shadow: 3px 3px 1px #AB6296, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB6296, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB6296 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB6296, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB6296, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB6296 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB6296; -webkit-box-shadow: 1px 1px 3px 2px #AB6296; box-shadow: 1px 1px 3px 2px #AB6296; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB6296; -webkit-box-shadow: 1px 1px 3px 2px #AB6296; box-shadow:1px 1px 3px 2px #AB6296;">
Div content here</div>
This text has color #AB6296 on black background.
This text has color #AB6296 on white background.
This text has black color on #AB6296 background.
This text has white color on #AB6296 background.