HEX: #7FA61C
RGB: (127,166,28)
#7FA61C contains mainly red and green colors. Web safe color of #7FA61C is #669933 (or #693).
#7FA61C color RGB value is (127,166,28).
RGB: (127,166,28) (50%,65%,11%)
R 127 of 255 = 50%
G 166 of 255 = 65%
B 28 of 255 = 11%
R + G + B ~ 42%. #7FA61C is middle color (not dark and not light).
R + G + B =
127 + 166 + 28 = 321 (100%)
R 127 of 321 ~ 39.56%
G 166 of 321 ~ 51.71%
B 28 of 321 ~ 8.72%
#7FA61C color CMYK value is (23,0,83,35).
CMYK: (23,0,83,35) C23M0Y83K35 (23%,0%,83%,35%) (0.23/0.00/0.83/0.35)
7F | A6 | 1C | |
---|---|---|---|
RGB | 127 | 166 | 28 |
HSL | 77° | 71.13% | 38.04% |
HSB/HSV | 77° | 83.13% | 65.10% |
CMYK | 23.49% | 0.00% | 83.13% |
34.90% |
HEX | 7F | A6 | 1C |
Decimal | 127 | 166 | 28 |
Binary | 1111111 | 10100110 | 11100 |
Octal | 177 | 246 | 34 |
Examples of css and html codes for elements with #7FA61C color. Also use rgb(127,166,28) instead hex code.
.myTextColor { color: #7FA61C; }
<p style="color:#7FA61C">This sample text font color is #7FA61C.</p>
This text font color is #7FA61C.
.myBgColor { background-color: #7FA61C; }
<div style="background-color:#7FA61C">Inner text</div>
This div background color is #7FA61C.
.myBorderColor { border: 1px solid #7FA61C; }
<div style="border:3px solid #7FA61C">Div</div>
This div border color is #7FA61C.
.myOpacity80 { color: #7FA61C; opacity: 0.8; }
<p style="color:#7FA61C;opacity:0.8;">80%</p>
Text with #7FA61C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7FA61C;}
<p style="text-shadow: 3px 3px 1px #7FA61C">Text here.</p>
This text has shadow with #7FA61C color.
.textShadow {text-shadow: 3px 3px 1px #7FA61C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7FA61C, 5px 5px 20px red">Text here.</p>
This text has shadow with #7FA61C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7FA61C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7FA61C, Direction=45, Strength=4)">Text</p>
This text has shadow with #7FA61C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7FA61C; -webkit-box-shadow: 1px 1px 3px 2px #7FA61C; box-shadow: 1px 1px 3px 2px #7FA61C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7FA61C; -webkit-box-shadow: 1px 1px 3px 2px #7FA61C; box-shadow:1px 1px 3px 2px #7FA61C;">
Div content here</div>
This text has color #7FA61C on black background.
This text has color #7FA61C on white background.
This text has black color on #7FA61C background.
This text has white color on #7FA61C background.