HEX: #9EDC4A
RGB: (158,220,74)
#9EDC4A contains mainly green color. Web safe color of #9EDC4A is #99CC33 (or #9C3).
#9EDC4A color RGB value is (158,220,74).
RGB: (158,220,74) (62%,86%,29%)
R 158 of 255 = 62%
G 220 of 255 = 86%
B 74 of 255 = 29%
R + G + B ~ 59%. #9EDC4A is middle color (not dark and not light).
R + G + B =
158 + 220 + 74 = 452 (100%)
R 158 of 452 ~ 34.96%
G 220 of 452 ~ 48.67%
B 74 of 452 ~ 16.37%
#9EDC4A color CMYK value is (28,0,66,14).
CMYK: (28,0,66,14) C28M0Y66K14 (28%,0%,66%,14%) (0.28/0.00/0.66/0.14)
9E | DC | 4A | |
---|---|---|---|
RGB | 158 | 220 | 74 |
HSL | 85° | 67.59% | 57.65% |
HSB/HSV | 85° | 66.36% | 86.27% |
CMYK | 28.18% | 0.00% | 66.36% |
13.73% |
HEX | 9E | DC | 4A |
Decimal | 158 | 220 | 74 |
Binary | 10011110 | 11011100 | 1001010 |
Octal | 236 | 334 | 112 |
Examples of css and html codes for elements with #9EDC4A color. Also use rgb(158,220,74) instead hex code.
.myTextColor { color: #9EDC4A; }
<p style="color:#9EDC4A">This sample text font color is #9EDC4A.</p>
This text font color is #9EDC4A.
.myBgColor { background-color: #9EDC4A; }
<div style="background-color:#9EDC4A">Inner text</div>
This div background color is #9EDC4A.
.myBorderColor { border: 1px solid #9EDC4A; }
<div style="border:3px solid #9EDC4A">Div</div>
This div border color is #9EDC4A.
.myOpacity80 { color: #9EDC4A; opacity: 0.8; }
<p style="color:#9EDC4A;opacity:0.8;">80%</p>
Text with #9EDC4A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #9EDC4A;}
<p style="text-shadow: 3px 3px 1px #9EDC4A">Text here.</p>
This text has shadow with #9EDC4A color.
.textShadow {text-shadow: 3px 3px 1px #9EDC4A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #9EDC4A, 5px 5px 20px red">Text here.</p>
This text has shadow with #9EDC4A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#9EDC4A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#9EDC4A, Direction=45, Strength=4)">Text</p>
This text has shadow with #9EDC4A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #9EDC4A; -webkit-box-shadow: 1px 1px 3px 2px #9EDC4A; box-shadow: 1px 1px 3px 2px #9EDC4A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #9EDC4A; -webkit-box-shadow: 1px 1px 3px 2px #9EDC4A; box-shadow:1px 1px 3px 2px #9EDC4A;">
Div content here</div>
This text has color #9EDC4A on black background.
This text has color #9EDC4A on white background.
This text has black color on #9EDC4A background.
This text has white color on #9EDC4A background.