HEX: #6EC21F
RGB: (110,194,31)
#6EC21F contains mainly green color. Web safe color of #6EC21F is #66CC33 (or #6C3).
#6EC21F color RGB value is (110,194,31).
RGB: (110,194,31) (43%,76%,12%)
R 110 of 255 = 43%
G 194 of 255 = 76%
B 31 of 255 = 12%
R + G + B ~ 44%. #6EC21F is middle color (not dark and not light).
R + G + B =
110 + 194 + 31 = 335 (100%)
R 110 of 335 ~ 32.84%
G 194 of 335 ~ 57.91%
B 31 of 335 ~ 9.25%
#6EC21F color CMYK value is (43,0,84,24).
CMYK: (43,0,84,24) C43M0Y84K24 (43%,0%,84%,24%) (0.43/0.00/0.84/0.24)
6E | C2 | 1F | |
---|---|---|---|
RGB | 110 | 194 | 31 |
HSL | 91° | 72.44% | 44.12% |
HSB/HSV | 91° | 84.02% | 76.08% |
CMYK | 43.30% | 0.00% | 84.02% |
23.92% |
HEX | 6E | C2 | 1F |
Decimal | 110 | 194 | 31 |
Binary | 1101110 | 11000010 | 11111 |
Octal | 156 | 302 | 37 |
Examples of css and html codes for elements with #6EC21F color. Also use rgb(110,194,31) instead hex code.
.myTextColor { color: #6EC21F; }
<p style="color:#6EC21F">This sample text font color is #6EC21F.</p>
This text font color is #6EC21F.
.myBgColor { background-color: #6EC21F; }
<div style="background-color:#6EC21F">Inner text</div>
This div background color is #6EC21F.
.myBorderColor { border: 1px solid #6EC21F; }
<div style="border:3px solid #6EC21F">Div</div>
This div border color is #6EC21F.
.myOpacity80 { color: #6EC21F; opacity: 0.8; }
<p style="color:#6EC21F;opacity:0.8;">80%</p>
Text with #6EC21F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6EC21F;}
<p style="text-shadow: 3px 3px 1px #6EC21F">Text here.</p>
This text has shadow with #6EC21F color.
.textShadow {text-shadow: 3px 3px 1px #6EC21F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6EC21F, 5px 5px 20px red">Text here.</p>
This text has shadow with #6EC21F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6EC21F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6EC21F, Direction=45, Strength=4)">Text</p>
This text has shadow with #6EC21F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6EC21F; -webkit-box-shadow: 1px 1px 3px 2px #6EC21F; box-shadow: 1px 1px 3px 2px #6EC21F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6EC21F; -webkit-box-shadow: 1px 1px 3px 2px #6EC21F; box-shadow:1px 1px 3px 2px #6EC21F;">
Div content here</div>
This text has color #6EC21F on black background.
This text has color #6EC21F on white background.
This text has black color on #6EC21F background.
This text has white color on #6EC21F background.