HEX: #AB5657
RGB: (171,86,87)
#AB5657 contains mainly red color. Web safe color of #AB5657 is #996666 (or #966).
#AB5657 color RGB value is (171,86,87).
RGB: (171,86,87) (67%,34%,34%)
R 171 of 255 = 67%
G 86 of 255 = 34%
B 87 of 255 = 34%
R + G + B ~ 45%. #AB5657 is middle color (not dark and not light).
R + G + B =
171 + 86 + 87 = 344 (100%)
R 171 of 344 ~ 49.71%
G 86 of 344 ~ 25%
B 87 of 344 ~ 25.29%
#AB5657 color CMYK value is (0,50,49,33).
CMYK: (0,50,49,33) C0M50Y49K33 (0%,50%,49%,33%) (0.00/0.50/0.49/0.33)
AB | 56 | 57 | |
---|---|---|---|
RGB | 171 | 86 | 87 |
HSL | 359° | 33.60% | 50.39% |
HSB/HSV | 359° | 49.71% | 67.06% |
CMYK | 0.00% | 49.71% | 49.12% |
32.94% |
HEX | AB | 56 | 57 |
Decimal | 171 | 86 | 87 |
Binary | 10101011 | 1010110 | 1010111 |
Octal | 253 | 126 | 127 |
Examples of css and html codes for elements with #AB5657 color. Also use rgb(171,86,87) instead hex code.
.myTextColor { color: #AB5657; }
<p style="color:#AB5657">This sample text font color is #AB5657.</p>
This text font color is #AB5657.
.myBgColor { background-color: #AB5657; }
<div style="background-color:#AB5657">Inner text</div>
This div background color is #AB5657.
.myBorderColor { border: 1px solid #AB5657; }
<div style="border:3px solid #AB5657">Div</div>
This div border color is #AB5657.
.myOpacity80 { color: #AB5657; opacity: 0.8; }
<p style="color:#AB5657;opacity:0.8;">80%</p>
Text with #AB5657 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB5657;}
<p style="text-shadow: 3px 3px 1px #AB5657">Text here.</p>
This text has shadow with #AB5657 color.
.textShadow {text-shadow: 3px 3px 1px #AB5657, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB5657, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB5657 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB5657, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB5657, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB5657 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB5657; -webkit-box-shadow: 1px 1px 3px 2px #AB5657; box-shadow: 1px 1px 3px 2px #AB5657; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB5657; -webkit-box-shadow: 1px 1px 3px 2px #AB5657; box-shadow:1px 1px 3px 2px #AB5657;">
Div content here</div>
This text has color #AB5657 on black background.
This text has color #AB5657 on white background.
This text has black color on #AB5657 background.
This text has white color on #AB5657 background.