HEX: #AB768E
RGB: (171,118,142)
#AB768E contains red, green and blue colors in about the same proportion. Web safe color of #AB768E is #996699 (or #969).
#AB768E color RGB value is (171,118,142).
RGB: (171,118,142) (67%,46%,56%)
R 171 of 255 = 67%
G 118 of 255 = 46%
B 142 of 255 = 56%
R + G + B ~ 56%. #AB768E is middle color (not dark and not light).
R + G + B =
171 + 118 + 142 = 431 (100%)
R 171 of 431 ~ 39.68%
G 118 of 431 ~ 27.38%
B 142 of 431 ~ 32.95%
#AB768E color CMYK value is (0,31,17,33).
CMYK: (0,31,17,33) C0M31Y17K33 (0%,31%,17%,33%) (0.00/0.31/0.17/0.33)
AB | 76 | 8E | |
---|---|---|---|
RGB | 171 | 118 | 142 |
HSL | 333° | 23.98% | 56.67% |
HSB/HSV | 333° | 30.99% | 67.06% |
CMYK | 0.00% | 30.99% | 16.96% |
32.94% |
HEX | AB | 76 | 8E |
Decimal | 171 | 118 | 142 |
Binary | 10101011 | 1110110 | 10001110 |
Octal | 253 | 166 | 216 |
Examples of css and html codes for elements with #AB768E color. Also use rgb(171,118,142) instead hex code.
.myTextColor { color: #AB768E; }
<p style="color:#AB768E">This sample text font color is #AB768E.</p>
This text font color is #AB768E.
.myBgColor { background-color: #AB768E; }
<div style="background-color:#AB768E">Inner text</div>
This div background color is #AB768E.
.myBorderColor { border: 1px solid #AB768E; }
<div style="border:3px solid #AB768E">Div</div>
This div border color is #AB768E.
.myOpacity80 { color: #AB768E; opacity: 0.8; }
<p style="color:#AB768E;opacity:0.8;">80%</p>
Text with #AB768E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB768E;}
<p style="text-shadow: 3px 3px 1px #AB768E">Text here.</p>
This text has shadow with #AB768E color.
.textShadow {text-shadow: 3px 3px 1px #AB768E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB768E, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB768E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB768E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB768E, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB768E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB768E; -webkit-box-shadow: 1px 1px 3px 2px #AB768E; box-shadow: 1px 1px 3px 2px #AB768E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB768E; -webkit-box-shadow: 1px 1px 3px 2px #AB768E; box-shadow:1px 1px 3px 2px #AB768E;">
Div content here</div>
This text has color #AB768E on black background.
This text has color #AB768E on white background.
This text has black color on #AB768E background.
This text has white color on #AB768E background.