HEX: #A7C948
RGB: (167,201,72)
#A7C948 contains mainly red and green colors. Web safe color of #A7C948 is #99CC33 (or #9C3).
#A7C948 color RGB value is (167,201,72).
RGB: (167,201,72) (65%,79%,28%)
R 167 of 255 = 65%
G 201 of 255 = 79%
B 72 of 255 = 28%
R + G + B ~ 57%. #A7C948 is middle color (not dark and not light).
R + G + B =
167 + 201 + 72 = 440 (100%)
R 167 of 440 ~ 37.95%
G 201 of 440 ~ 45.68%
B 72 of 440 ~ 16.36%
#A7C948 color CMYK value is (17,0,64,21).
CMYK: (17,0,64,21) C17M0Y64K21 (17%,0%,64%,21%) (0.17/0.00/0.64/0.21)
A7 | C9 | 48 | |
---|---|---|---|
RGB | 167 | 201 | 72 |
HSL | 76° | 54.43% | 53.53% |
HSB/HSV | 76° | 64.18% | 78.82% |
CMYK | 16.92% | 0.00% | 64.18% |
21.18% |
HEX | A7 | C9 | 48 |
Decimal | 167 | 201 | 72 |
Binary | 10100111 | 11001001 | 1001000 |
Octal | 247 | 311 | 110 |
Examples of css and html codes for elements with #A7C948 color. Also use rgb(167,201,72) instead hex code.
.myTextColor { color: #A7C948; }
<p style="color:#A7C948">This sample text font color is #A7C948.</p>
This text font color is #A7C948.
.myBgColor { background-color: #A7C948; }
<div style="background-color:#A7C948">Inner text</div>
This div background color is #A7C948.
.myBorderColor { border: 1px solid #A7C948; }
<div style="border:3px solid #A7C948">Div</div>
This div border color is #A7C948.
.myOpacity80 { color: #A7C948; opacity: 0.8; }
<p style="color:#A7C948;opacity:0.8;">80%</p>
Text with #A7C948 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A7C948;}
<p style="text-shadow: 3px 3px 1px #A7C948">Text here.</p>
This text has shadow with #A7C948 color.
.textShadow {text-shadow: 3px 3px 1px #A7C948, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A7C948, 5px 5px 20px red">Text here.</p>
This text has shadow with #A7C948 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A7C948, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A7C948, Direction=45, Strength=4)">Text</p>
This text has shadow with #A7C948 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A7C948; -webkit-box-shadow: 1px 1px 3px 2px #A7C948; box-shadow: 1px 1px 3px 2px #A7C948; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A7C948; -webkit-box-shadow: 1px 1px 3px 2px #A7C948; box-shadow:1px 1px 3px 2px #A7C948;">
Div content here</div>
This text has color #A7C948 on black background.
This text has color #A7C948 on white background.
This text has black color on #A7C948 background.
This text has white color on #A7C948 background.