HEX: #ABC98E
RGB: (171,201,142)
#ABC98E contains red, green and blue colors in about the same proportion. Web safe color of #ABC98E is #99CC99 (or #9C9).
#ABC98E color RGB value is (171,201,142).
RGB: (171,201,142) (67%,79%,56%)
R 171 of 255 = 67%
G 201 of 255 = 79%
B 142 of 255 = 56%
R + G + B ~ 67%. #ABC98E is quite light color.
R + G + B =
171 + 201 + 142 = 514 (100%)
R 171 of 514 ~ 33.27%
G 201 of 514 ~ 39.11%
B 142 of 514 ~ 27.63%
#ABC98E color CMYK value is (15,0,29,21).
CMYK: (15,0,29,21) C15M0Y29K21 (15%,0%,29%,21%) (0.15/0.00/0.29/0.21)
AB | C9 | 8E | |
---|---|---|---|
RGB | 171 | 201 | 142 |
HSL | 91° | 35.33% | 67.25% |
HSB/HSV | 91° | 29.35% | 78.82% |
CMYK | 14.93% | 0.00% | 29.35% |
21.18% |
HEX | AB | C9 | 8E |
Decimal | 171 | 201 | 142 |
Binary | 10101011 | 11001001 | 10001110 |
Octal | 253 | 311 | 216 |
Examples of css and html codes for elements with #ABC98E color. Also use rgb(171,201,142) instead hex code.
.myTextColor { color: #ABC98E; }
<p style="color:#ABC98E">This sample text font color is #ABC98E.</p>
This text font color is #ABC98E.
.myBgColor { background-color: #ABC98E; }
<div style="background-color:#ABC98E">Inner text</div>
This div background color is #ABC98E.
.myBorderColor { border: 1px solid #ABC98E; }
<div style="border:3px solid #ABC98E">Div</div>
This div border color is #ABC98E.
.myOpacity80 { color: #ABC98E; opacity: 0.8; }
<p style="color:#ABC98E;opacity:0.8;">80%</p>
Text with #ABC98E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #ABC98E;}
<p style="text-shadow: 3px 3px 1px #ABC98E">Text here.</p>
This text has shadow with #ABC98E color.
.textShadow {text-shadow: 3px 3px 1px #ABC98E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #ABC98E, 5px 5px 20px red">Text here.</p>
This text has shadow with #ABC98E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#ABC98E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#ABC98E, Direction=45, Strength=4)">Text</p>
This text has shadow with #ABC98E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #ABC98E; -webkit-box-shadow: 1px 1px 3px 2px #ABC98E; box-shadow: 1px 1px 3px 2px #ABC98E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #ABC98E; -webkit-box-shadow: 1px 1px 3px 2px #ABC98E; box-shadow:1px 1px 3px 2px #ABC98E;">
Div content here</div>
This text has color #ABC98E on black background.
This text has color #ABC98E on white background.
This text has black color on #ABC98E background.
This text has white color on #ABC98E background.