HEX: #ABAB5C
RGB: (171,171,92)
#ABAB5C contains mainly red and green colors. Web safe color of #ABAB5C is #999966 (or #996).
#ABAB5C color RGB value is (171,171,92).
RGB: (171,171,92) (67%,67%,36%)
R 171 of 255 = 67%
G 171 of 255 = 67%
B 92 of 255 = 36%
R + G + B ~ 57%. #ABAB5C is middle color (not dark and not light).
R + G + B =
171 + 171 + 92 = 434 (100%)
R 171 of 434 ~ 39.4%
G 171 of 434 ~ 39.4%
B 92 of 434 ~ 21.2%
#ABAB5C color CMYK value is (0,0,46,33).
CMYK: (0,0,46,33) C0M0Y46K33 (0%,0%,46%,33%) (0.00/0.00/0.46/0.33)
AB | AB | 5C | |
---|---|---|---|
RGB | 171 | 171 | 92 |
HSL | 60° | 31.98% | 51.57% |
HSB/HSV | 60° | 46.20% | 67.06% |
CMYK | 0.00% | 0.00% | 46.20% |
32.94% |
HEX | AB | AB | 5C |
Decimal | 171 | 171 | 92 |
Binary | 10101011 | 10101011 | 1011100 |
Octal | 253 | 253 | 134 |
Examples of css and html codes for elements with #ABAB5C color. Also use rgb(171,171,92) instead hex code.
.myTextColor { color: #ABAB5C; }
<p style="color:#ABAB5C">This sample text font color is #ABAB5C.</p>
This text font color is #ABAB5C.
.myBgColor { background-color: #ABAB5C; }
<div style="background-color:#ABAB5C">Inner text</div>
This div background color is #ABAB5C.
.myBorderColor { border: 1px solid #ABAB5C; }
<div style="border:3px solid #ABAB5C">Div</div>
This div border color is #ABAB5C.
.myOpacity80 { color: #ABAB5C; opacity: 0.8; }
<p style="color:#ABAB5C;opacity:0.8;">80%</p>
Text with #ABAB5C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #ABAB5C;}
<p style="text-shadow: 3px 3px 1px #ABAB5C">Text here.</p>
This text has shadow with #ABAB5C color.
.textShadow {text-shadow: 3px 3px 1px #ABAB5C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #ABAB5C, 5px 5px 20px red">Text here.</p>
This text has shadow with #ABAB5C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#ABAB5C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#ABAB5C, Direction=45, Strength=4)">Text</p>
This text has shadow with #ABAB5C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #ABAB5C; -webkit-box-shadow: 1px 1px 3px 2px #ABAB5C; box-shadow: 1px 1px 3px 2px #ABAB5C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #ABAB5C; -webkit-box-shadow: 1px 1px 3px 2px #ABAB5C; box-shadow:1px 1px 3px 2px #ABAB5C;">
Div content here</div>
This text has color #ABAB5C on black background.
This text has color #ABAB5C on white background.
This text has black color on #ABAB5C background.
This text has white color on #ABAB5C background.