HEX: #70D81F
RGB: (112,216,31)
#70D81F contains mainly green color. Web safe color of #70D81F is #66CC33 (or #6C3).
#70D81F color RGB value is (112,216,31).
RGB: (112,216,31) (44%,85%,12%)
R 112 of 255 = 44%
G 216 of 255 = 85%
B 31 of 255 = 12%
R + G + B ~ 47%. #70D81F is middle color (not dark and not light).
R + G + B =
112 + 216 + 31 = 359 (100%)
R 112 of 359 ~ 31.2%
G 216 of 359 ~ 60.17%
B 31 of 359 ~ 8.64%
#70D81F color CMYK value is (48,0,86,15).
CMYK: (48,0,86,15) C48M0Y86K15 (48%,0%,86%,15%) (0.48/0.00/0.86/0.15)
70 | D8 | 1F | |
---|---|---|---|
RGB | 112 | 216 | 31 |
HSL | 94° | 74.90% | 48.43% |
HSB/HSV | 94° | 85.65% | 84.71% |
CMYK | 48.15% | 0.00% | 85.65% |
15.29% |
HEX | 70 | D8 | 1F |
Decimal | 112 | 216 | 31 |
Binary | 1110000 | 11011000 | 11111 |
Octal | 160 | 330 | 37 |
Examples of css and html codes for elements with #70D81F color. Also use rgb(112,216,31) instead hex code.
.myTextColor { color: #70D81F; }
<p style="color:#70D81F">This sample text font color is #70D81F.</p>
This text font color is #70D81F.
.myBgColor { background-color: #70D81F; }
<div style="background-color:#70D81F">Inner text</div>
This div background color is #70D81F.
.myBorderColor { border: 1px solid #70D81F; }
<div style="border:3px solid #70D81F">Div</div>
This div border color is #70D81F.
.myOpacity80 { color: #70D81F; opacity: 0.8; }
<p style="color:#70D81F;opacity:0.8;">80%</p>
Text with #70D81F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #70D81F;}
<p style="text-shadow: 3px 3px 1px #70D81F">Text here.</p>
This text has shadow with #70D81F color.
.textShadow {text-shadow: 3px 3px 1px #70D81F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #70D81F, 5px 5px 20px red">Text here.</p>
This text has shadow with #70D81F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#70D81F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#70D81F, Direction=45, Strength=4)">Text</p>
This text has shadow with #70D81F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #70D81F; -webkit-box-shadow: 1px 1px 3px 2px #70D81F; box-shadow: 1px 1px 3px 2px #70D81F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #70D81F; -webkit-box-shadow: 1px 1px 3px 2px #70D81F; box-shadow:1px 1px 3px 2px #70D81F;">
Div content here</div>
This text has color #70D81F on black background.
This text has color #70D81F on white background.
This text has black color on #70D81F background.
This text has white color on #70D81F background.