HEX: #A9C978
RGB: (169,201,120)
#A9C978 contains mainly red and green colors. Web safe color of #A9C978 is #99CC66 (or #9C6).
#A9C978 color RGB value is (169,201,120).
RGB: (169,201,120) (66%,79%,47%)
R 169 of 255 = 66%
G 201 of 255 = 79%
B 120 of 255 = 47%
R + G + B ~ 64%. #A9C978 is quite light color.
R + G + B =
169 + 201 + 120 = 490 (100%)
R 169 of 490 ~ 34.49%
G 201 of 490 ~ 41.02%
B 120 of 490 ~ 24.49%
#A9C978 color CMYK value is (16,0,40,21).
CMYK: (16,0,40,21) C16M0Y40K21 (16%,0%,40%,21%) (0.16/0.00/0.40/0.21)
A9 | C9 | 78 | |
---|---|---|---|
RGB | 169 | 201 | 120 |
HSL | 84° | 42.86% | 62.94% |
HSB/HSV | 84° | 40.30% | 78.82% |
CMYK | 15.92% | 0.00% | 40.30% |
21.18% |
HEX | A9 | C9 | 78 |
Decimal | 169 | 201 | 120 |
Binary | 10101001 | 11001001 | 1111000 |
Octal | 251 | 311 | 170 |
Examples of css and html codes for elements with #A9C978 color. Also use rgb(169,201,120) instead hex code.
.myTextColor { color: #A9C978; }
<p style="color:#A9C978">This sample text font color is #A9C978.</p>
This text font color is #A9C978.
.myBgColor { background-color: #A9C978; }
<div style="background-color:#A9C978">Inner text</div>
This div background color is #A9C978.
.myBorderColor { border: 1px solid #A9C978; }
<div style="border:3px solid #A9C978">Div</div>
This div border color is #A9C978.
.myOpacity80 { color: #A9C978; opacity: 0.8; }
<p style="color:#A9C978;opacity:0.8;">80%</p>
Text with #A9C978 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A9C978;}
<p style="text-shadow: 3px 3px 1px #A9C978">Text here.</p>
This text has shadow with #A9C978 color.
.textShadow {text-shadow: 3px 3px 1px #A9C978, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A9C978, 5px 5px 20px red">Text here.</p>
This text has shadow with #A9C978 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A9C978, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A9C978, Direction=45, Strength=4)">Text</p>
This text has shadow with #A9C978 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A9C978; -webkit-box-shadow: 1px 1px 3px 2px #A9C978; box-shadow: 1px 1px 3px 2px #A9C978; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A9C978; -webkit-box-shadow: 1px 1px 3px 2px #A9C978; box-shadow:1px 1px 3px 2px #A9C978;">
Div content here</div>
This text has color #A9C978 on black background.
This text has color #A9C978 on white background.
This text has black color on #A9C978 background.
This text has white color on #A9C978 background.