HEX: #9EB511
RGB: (158,181,17)
#9EB511 contains mainly red and green colors. Web safe color of #9EB511 is #99CC00 (or #9C0).
#9EB511 color RGB value is (158,181,17).
RGB: (158,181,17) (62%,71%,7%)
R 158 of 255 = 62%
G 181 of 255 = 71%
B 17 of 255 = 7%
R + G + B ~ 47%. #9EB511 is middle color (not dark and not light).
R + G + B =
158 + 181 + 17 = 356 (100%)
R 158 of 356 ~ 44.38%
G 181 of 356 ~ 50.84%
B 17 of 356 ~ 4.78%
#9EB511 color CMYK value is (13,0,91,29).
CMYK: (13,0,91,29) C13M0Y91K29 (13%,0%,91%,29%) (0.13/0.00/0.91/0.29)
9E | B5 | 11 | |
---|---|---|---|
RGB | 158 | 181 | 17 |
HSL | 68° | 82.83% | 38.82% |
HSB/HSV | 68° | 90.61% | 70.98% |
CMYK | 12.71% | 0.00% | 90.61% |
29.02% |
HEX | 9E | B5 | 11 |
Decimal | 158 | 181 | 17 |
Binary | 10011110 | 10110101 | 10001 |
Octal | 236 | 265 | 21 |
Examples of css and html codes for elements with #9EB511 color. Also use rgb(158,181,17) instead hex code.
.myTextColor { color: #9EB511; }
<p style="color:#9EB511">This sample text font color is #9EB511.</p>
This text font color is #9EB511.
.myBgColor { background-color: #9EB511; }
<div style="background-color:#9EB511">Inner text</div>
This div background color is #9EB511.
.myBorderColor { border: 1px solid #9EB511; }
<div style="border:3px solid #9EB511">Div</div>
This div border color is #9EB511.
.myOpacity80 { color: #9EB511; opacity: 0.8; }
<p style="color:#9EB511;opacity:0.8;">80%</p>
Text with #9EB511 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #9EB511;}
<p style="text-shadow: 3px 3px 1px #9EB511">Text here.</p>
This text has shadow with #9EB511 color.
.textShadow {text-shadow: 3px 3px 1px #9EB511, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #9EB511, 5px 5px 20px red">Text here.</p>
This text has shadow with #9EB511 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#9EB511, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#9EB511, Direction=45, Strength=4)">Text</p>
This text has shadow with #9EB511 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #9EB511; -webkit-box-shadow: 1px 1px 3px 2px #9EB511; box-shadow: 1px 1px 3px 2px #9EB511; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #9EB511; -webkit-box-shadow: 1px 1px 3px 2px #9EB511; box-shadow:1px 1px 3px 2px #9EB511;">
Div content here</div>
This text has color #9EB511 on black background.
This text has color #9EB511 on white background.
This text has black color on #9EB511 background.
This text has white color on #9EB511 background.