HEX: #AB4947
RGB: (171,73,71)
#AB4947 contains mainly red color. Web safe color of #AB4947 is #993333 (or #933).
#AB4947 color RGB value is (171,73,71).
RGB: (171,73,71) (67%,29%,28%)
R 171 of 255 = 67%
G 73 of 255 = 29%
B 71 of 255 = 28%
R + G + B ~ 41%. #AB4947 is middle color (not dark and not light).
R + G + B =
171 + 73 + 71 = 315 (100%)
R 171 of 315 ~ 54.29%
G 73 of 315 ~ 23.17%
B 71 of 315 ~ 22.54%
#AB4947 color CMYK value is (0,57,58,33).
CMYK: (0,57,58,33) C0M57Y58K33 (0%,57%,58%,33%) (0.00/0.57/0.58/0.33)
AB | 49 | 47 | |
---|---|---|---|
RGB | 171 | 73 | 71 |
HSL | 1° | 41.32% | 47.45% |
HSB/HSV | 1° | 58.48% | 67.06% |
CMYK | 0.00% | 57.31% | 58.48% |
32.94% |
HEX | AB | 49 | 47 |
Decimal | 171 | 73 | 71 |
Binary | 10101011 | 1001001 | 1000111 |
Octal | 253 | 111 | 107 |
Examples of css and html codes for elements with #AB4947 color. Also use rgb(171,73,71) instead hex code.
.myTextColor { color: #AB4947; }
<p style="color:#AB4947">This sample text font color is #AB4947.</p>
This text font color is #AB4947.
.myBgColor { background-color: #AB4947; }
<div style="background-color:#AB4947">Inner text</div>
This div background color is #AB4947.
.myBorderColor { border: 1px solid #AB4947; }
<div style="border:3px solid #AB4947">Div</div>
This div border color is #AB4947.
.myOpacity80 { color: #AB4947; opacity: 0.8; }
<p style="color:#AB4947;opacity:0.8;">80%</p>
Text with #AB4947 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB4947;}
<p style="text-shadow: 3px 3px 1px #AB4947">Text here.</p>
This text has shadow with #AB4947 color.
.textShadow {text-shadow: 3px 3px 1px #AB4947, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB4947, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB4947 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB4947, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB4947, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB4947 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB4947; -webkit-box-shadow: 1px 1px 3px 2px #AB4947; box-shadow: 1px 1px 3px 2px #AB4947; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB4947; -webkit-box-shadow: 1px 1px 3px 2px #AB4947; box-shadow:1px 1px 3px 2px #AB4947;">
Div content here</div>
This text has color #AB4947 on black background.
This text has color #AB4947 on white background.
This text has black color on #AB4947 background.
This text has white color on #AB4947 background.