HEX: #AB5850
RGB: (171,88,80)
#AB5850 contains mainly red color. Web safe color of #AB5850 is #996666 (or #966).
#AB5850 color RGB value is (171,88,80).
RGB: (171,88,80) (67%,35%,31%)
R 171 of 255 = 67%
G 88 of 255 = 35%
B 80 of 255 = 31%
R + G + B ~ 44%. #AB5850 is middle color (not dark and not light).
R + G + B =
171 + 88 + 80 = 339 (100%)
R 171 of 339 ~ 50.44%
G 88 of 339 ~ 25.96%
B 80 of 339 ~ 23.6%
#AB5850 color CMYK value is (0,49,53,33).
CMYK: (0,49,53,33) C0M49Y53K33 (0%,49%,53%,33%) (0.00/0.49/0.53/0.33)
AB | 58 | 50 | |
---|---|---|---|
RGB | 171 | 88 | 80 |
HSL | 5° | 36.25% | 49.22% |
HSB/HSV | 5° | 53.22% | 67.06% |
CMYK | 0.00% | 48.54% | 53.22% |
32.94% |
HEX | AB | 58 | 50 |
Decimal | 171 | 88 | 80 |
Binary | 10101011 | 1011000 | 1010000 |
Octal | 253 | 130 | 120 |
Examples of css and html codes for elements with #AB5850 color. Also use rgb(171,88,80) instead hex code.
.myTextColor { color: #AB5850; }
<p style="color:#AB5850">This sample text font color is #AB5850.</p>
This text font color is #AB5850.
.myBgColor { background-color: #AB5850; }
<div style="background-color:#AB5850">Inner text</div>
This div background color is #AB5850.
.myBorderColor { border: 1px solid #AB5850; }
<div style="border:3px solid #AB5850">Div</div>
This div border color is #AB5850.
.myOpacity80 { color: #AB5850; opacity: 0.8; }
<p style="color:#AB5850;opacity:0.8;">80%</p>
Text with #AB5850 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB5850;}
<p style="text-shadow: 3px 3px 1px #AB5850">Text here.</p>
This text has shadow with #AB5850 color.
.textShadow {text-shadow: 3px 3px 1px #AB5850, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB5850, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB5850 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB5850, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB5850, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB5850 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB5850; -webkit-box-shadow: 1px 1px 3px 2px #AB5850; box-shadow: 1px 1px 3px 2px #AB5850; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB5850; -webkit-box-shadow: 1px 1px 3px 2px #AB5850; box-shadow:1px 1px 3px 2px #AB5850;">
Div content here</div>
This text has color #AB5850 on black background.
This text has color #AB5850 on white background.
This text has black color on #AB5850 background.
This text has white color on #AB5850 background.