HEX: #7DB50C
RGB: (125,181,12)
#7DB50C contains mainly red and green colors. Web safe color of #7DB50C is #66CC00 (or #6C0).
#7DB50C color RGB value is (125,181,12).
RGB: (125,181,12) (49%,71%,5%)
R 125 of 255 = 49%
G 181 of 255 = 71%
B 12 of 255 = 5%
R + G + B ~ 42%. #7DB50C is middle color (not dark and not light).
R + G + B =
125 + 181 + 12 = 318 (100%)
R 125 of 318 ~ 39.31%
G 181 of 318 ~ 56.92%
B 12 of 318 ~ 3.77%
#7DB50C color CMYK value is (31,0,93,29).
CMYK: (31,0,93,29) C31M0Y93K29 (31%,0%,93%,29%) (0.31/0.00/0.93/0.29)
7D | B5 | 0C | |
---|---|---|---|
RGB | 125 | 181 | 12 |
HSL | 80° | 87.56% | 37.84% |
HSB/HSV | 80° | 93.37% | 70.98% |
CMYK | 30.94% | 0.00% | 93.37% |
29.02% |
HEX | 7D | B5 | 0C |
Decimal | 125 | 181 | 12 |
Binary | 1111101 | 10110101 | 1100 |
Octal | 175 | 265 | 14 |
Examples of css and html codes for elements with #7DB50C color. Also use rgb(125,181,12) instead hex code.
.myTextColor { color: #7DB50C; }
<p style="color:#7DB50C">This sample text font color is #7DB50C.</p>
This text font color is #7DB50C.
.myBgColor { background-color: #7DB50C; }
<div style="background-color:#7DB50C">Inner text</div>
This div background color is #7DB50C.
.myBorderColor { border: 1px solid #7DB50C; }
<div style="border:3px solid #7DB50C">Div</div>
This div border color is #7DB50C.
.myOpacity80 { color: #7DB50C; opacity: 0.8; }
<p style="color:#7DB50C;opacity:0.8;">80%</p>
Text with #7DB50C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7DB50C;}
<p style="text-shadow: 3px 3px 1px #7DB50C">Text here.</p>
This text has shadow with #7DB50C color.
.textShadow {text-shadow: 3px 3px 1px #7DB50C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7DB50C, 5px 5px 20px red">Text here.</p>
This text has shadow with #7DB50C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7DB50C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7DB50C, Direction=45, Strength=4)">Text</p>
This text has shadow with #7DB50C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7DB50C; -webkit-box-shadow: 1px 1px 3px 2px #7DB50C; box-shadow: 1px 1px 3px 2px #7DB50C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7DB50C; -webkit-box-shadow: 1px 1px 3px 2px #7DB50C; box-shadow:1px 1px 3px 2px #7DB50C;">
Div content here</div>
This text has color #7DB50C on black background.
This text has color #7DB50C on white background.
This text has black color on #7DB50C background.
This text has white color on #7DB50C background.