HEX: #ABC98D
RGB: (171,201,141)
#ABC98D contains mainly red and green colors. Web safe color of #ABC98D is #99CC99 (or #9C9).
#ABC98D color RGB value is (171,201,141).
RGB: (171,201,141) (67%,79%,55%)
R 171 of 255 = 67%
G 201 of 255 = 79%
B 141 of 255 = 55%
R + G + B ~ 67%. #ABC98D is quite light color.
R + G + B =
171 + 201 + 141 = 513 (100%)
R 171 of 513 ~ 33.33%
G 201 of 513 ~ 39.18%
B 141 of 513 ~ 27.49%
#ABC98D color CMYK value is (15,0,30,21).
CMYK: (15,0,30,21) C15M0Y30K21 (15%,0%,30%,21%) (0.15/0.00/0.30/0.21)
AB | C9 | 8D | |
---|---|---|---|
RGB | 171 | 201 | 141 |
HSL | 90° | 35.71% | 67.06% |
HSB/HSV | 90° | 29.85% | 78.82% |
CMYK | 14.93% | 0.00% | 29.85% |
21.18% |
HEX | AB | C9 | 8D |
Decimal | 171 | 201 | 141 |
Binary | 10101011 | 11001001 | 10001101 |
Octal | 253 | 311 | 215 |
Examples of css and html codes for elements with #ABC98D color. Also use rgb(171,201,141) instead hex code.
.myTextColor { color: #ABC98D; }
<p style="color:#ABC98D">This sample text font color is #ABC98D.</p>
This text font color is #ABC98D.
.myBgColor { background-color: #ABC98D; }
<div style="background-color:#ABC98D">Inner text</div>
This div background color is #ABC98D.
.myBorderColor { border: 1px solid #ABC98D; }
<div style="border:3px solid #ABC98D">Div</div>
This div border color is #ABC98D.
.myOpacity80 { color: #ABC98D; opacity: 0.8; }
<p style="color:#ABC98D;opacity:0.8;">80%</p>
Text with #ABC98D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #ABC98D;}
<p style="text-shadow: 3px 3px 1px #ABC98D">Text here.</p>
This text has shadow with #ABC98D color.
.textShadow {text-shadow: 3px 3px 1px #ABC98D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #ABC98D, 5px 5px 20px red">Text here.</p>
This text has shadow with #ABC98D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#ABC98D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#ABC98D, Direction=45, Strength=4)">Text</p>
This text has shadow with #ABC98D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #ABC98D; -webkit-box-shadow: 1px 1px 3px 2px #ABC98D; box-shadow: 1px 1px 3px 2px #ABC98D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #ABC98D; -webkit-box-shadow: 1px 1px 3px 2px #ABC98D; box-shadow:1px 1px 3px 2px #ABC98D;">
Div content here</div>
This text has color #ABC98D on black background.
This text has color #ABC98D on white background.
This text has black color on #ABC98D background.
This text has white color on #ABC98D background.