HEX: #9EB54F
RGB: (158,181,79)
#9EB54F contains mainly red and green colors. Web safe color of #9EB54F is #99CC66 (or #9C6).
#9EB54F color RGB value is (158,181,79).
RGB: (158,181,79) (62%,71%,31%)
R 158 of 255 = 62%
G 181 of 255 = 71%
B 79 of 255 = 31%
R + G + B ~ 55%. #9EB54F is middle color (not dark and not light).
R + G + B =
158 + 181 + 79 = 418 (100%)
R 158 of 418 ~ 37.8%
G 181 of 418 ~ 43.3%
B 79 of 418 ~ 18.9%
#9EB54F color CMYK value is (13,0,56,29).
CMYK: (13,0,56,29) C13M0Y56K29 (13%,0%,56%,29%) (0.13/0.00/0.56/0.29)
9E | B5 | 4F | |
---|---|---|---|
RGB | 158 | 181 | 79 |
HSL | 74° | 40.80% | 50.98% |
HSB/HSV | 74° | 56.35% | 70.98% |
CMYK | 12.71% | 0.00% | 56.35% |
29.02% |
HEX | 9E | B5 | 4F |
Decimal | 158 | 181 | 79 |
Binary | 10011110 | 10110101 | 1001111 |
Octal | 236 | 265 | 117 |
Examples of css and html codes for elements with #9EB54F color. Also use rgb(158,181,79) instead hex code.
.myTextColor { color: #9EB54F; }
<p style="color:#9EB54F">This sample text font color is #9EB54F.</p>
This text font color is #9EB54F.
.myBgColor { background-color: #9EB54F; }
<div style="background-color:#9EB54F">Inner text</div>
This div background color is #9EB54F.
.myBorderColor { border: 1px solid #9EB54F; }
<div style="border:3px solid #9EB54F">Div</div>
This div border color is #9EB54F.
.myOpacity80 { color: #9EB54F; opacity: 0.8; }
<p style="color:#9EB54F;opacity:0.8;">80%</p>
Text with #9EB54F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #9EB54F;}
<p style="text-shadow: 3px 3px 1px #9EB54F">Text here.</p>
This text has shadow with #9EB54F color.
.textShadow {text-shadow: 3px 3px 1px #9EB54F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #9EB54F, 5px 5px 20px red">Text here.</p>
This text has shadow with #9EB54F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#9EB54F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#9EB54F, Direction=45, Strength=4)">Text</p>
This text has shadow with #9EB54F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #9EB54F; -webkit-box-shadow: 1px 1px 3px 2px #9EB54F; box-shadow: 1px 1px 3px 2px #9EB54F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #9EB54F; -webkit-box-shadow: 1px 1px 3px 2px #9EB54F; box-shadow:1px 1px 3px 2px #9EB54F;">
Div content here</div>
This text has color #9EB54F on black background.
This text has color #9EB54F on white background.
This text has black color on #9EB54F background.
This text has white color on #9EB54F background.