HEX: #96D501
RGB: (150,213,1)
#96D501 contains mainly green color. Web safe color of #96D501 is #99CC00 (or #9C0).
#96D501 color RGB value is (150,213,1).
RGB: (150,213,1) (59%,84%,0%)
R 150 of 255 = 59%
G 213 of 255 = 84%
B 1 of 255 = 0%
R + G + B ~ 48%. #96D501 is middle color (not dark and not light).
R + G + B =
150 + 213 + 1 = 364 (100%)
R 150 of 364 ~ 41.21%
G 213 of 364 ~ 58.52%
B 1 of 364 ~ 0.27%
#96D501 color CMYK value is (30,0,100,16).
CMYK: (30,0,100,16) C30M0Y100K16 (30%,0%,100%,16%) (0.30/0.00/1.00/0.16)
96 | D5 | 01 | |
---|---|---|---|
RGB | 150 | 213 | 1 |
HSL | 78° | 99.07% | 41.96% |
HSB/HSV | 78° | 99.53% | 83.53% |
CMYK | 29.58% | 0.00% | 99.53% |
16.47% |
HEX | 96 | D5 | 01 |
Decimal | 150 | 213 | 1 |
Binary | 10010110 | 11010101 | 1 |
Octal | 226 | 325 | 1 |
Examples of css and html codes for elements with #96D501 color. Also use rgb(150,213,1) instead hex code.
.myTextColor { color: #96D501; }
<p style="color:#96D501">This sample text font color is #96D501.</p>
This text font color is #96D501.
.myBgColor { background-color: #96D501; }
<div style="background-color:#96D501">Inner text</div>
This div background color is #96D501.
.myBorderColor { border: 1px solid #96D501; }
<div style="border:3px solid #96D501">Div</div>
This div border color is #96D501.
.myOpacity80 { color: #96D501; opacity: 0.8; }
<p style="color:#96D501;opacity:0.8;">80%</p>
Text with #96D501 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #96D501;}
<p style="text-shadow: 3px 3px 1px #96D501">Text here.</p>
This text has shadow with #96D501 color.
.textShadow {text-shadow: 3px 3px 1px #96D501, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #96D501, 5px 5px 20px red">Text here.</p>
This text has shadow with #96D501 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#96D501, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#96D501, Direction=45, Strength=4)">Text</p>
This text has shadow with #96D501 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #96D501; -webkit-box-shadow: 1px 1px 3px 2px #96D501; box-shadow: 1px 1px 3px 2px #96D501; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #96D501; -webkit-box-shadow: 1px 1px 3px 2px #96D501; box-shadow:1px 1px 3px 2px #96D501;">
Div content here</div>
This text has color #96D501 on black background.
This text has color #96D501 on white background.
This text has black color on #96D501 background.
This text has white color on #96D501 background.