HEX: #AB9F1C
RGB: (171,159,28)
#AB9F1C contains mainly red and green colors. Web safe color of #AB9F1C is #999933 (or #993).
#AB9F1C color RGB value is (171,159,28).
RGB: (171,159,28) (67%,62%,11%)
R 171 of 255 = 67%
G 159 of 255 = 62%
B 28 of 255 = 11%
R + G + B ~ 47%. #AB9F1C is middle color (not dark and not light).
R + G + B =
171 + 159 + 28 = 358 (100%)
R 171 of 358 ~ 47.77%
G 159 of 358 ~ 44.41%
B 28 of 358 ~ 7.82%
#AB9F1C color CMYK value is (0,7,84,33).
CMYK: (0,7,84,33) C0M7Y84K33 (0%,7%,84%,33%) (0.00/0.07/0.84/0.33)
AB | 9F | 1C | |
---|---|---|---|
RGB | 171 | 159 | 28 |
HSL | 55° | 71.86% | 39.02% |
HSB/HSV | 55° | 83.63% | 67.06% |
CMYK | 0.00% | 7.02% | 83.63% |
32.94% |
HEX | AB | 9F | 1C |
Decimal | 171 | 159 | 28 |
Binary | 10101011 | 10011111 | 11100 |
Octal | 253 | 237 | 34 |
Examples of css and html codes for elements with #AB9F1C color. Also use rgb(171,159,28) instead hex code.
.myTextColor { color: #AB9F1C; }
<p style="color:#AB9F1C">This sample text font color is #AB9F1C.</p>
This text font color is #AB9F1C.
.myBgColor { background-color: #AB9F1C; }
<div style="background-color:#AB9F1C">Inner text</div>
This div background color is #AB9F1C.
.myBorderColor { border: 1px solid #AB9F1C; }
<div style="border:3px solid #AB9F1C">Div</div>
This div border color is #AB9F1C.
.myOpacity80 { color: #AB9F1C; opacity: 0.8; }
<p style="color:#AB9F1C;opacity:0.8;">80%</p>
Text with #AB9F1C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB9F1C;}
<p style="text-shadow: 3px 3px 1px #AB9F1C">Text here.</p>
This text has shadow with #AB9F1C color.
.textShadow {text-shadow: 3px 3px 1px #AB9F1C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB9F1C, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB9F1C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB9F1C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB9F1C, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB9F1C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB9F1C; -webkit-box-shadow: 1px 1px 3px 2px #AB9F1C; box-shadow: 1px 1px 3px 2px #AB9F1C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB9F1C; -webkit-box-shadow: 1px 1px 3px 2px #AB9F1C; box-shadow:1px 1px 3px 2px #AB9F1C;">
Div content here</div>
This text has color #AB9F1C on black background.
This text has color #AB9F1C on white background.
This text has black color on #AB9F1C background.
This text has white color on #AB9F1C background.