HEX: #8EDF21
RGB: (142,223,33)
#8EDF21 contains mainly green color. Web safe color of #8EDF21 is #99CC33 (or #9C3).
#8EDF21 color RGB value is (142,223,33).
RGB: (142,223,33) (56%,87%,13%)
R 142 of 255 = 56%
G 223 of 255 = 87%
B 33 of 255 = 13%
R + G + B ~ 52%. #8EDF21 is middle color (not dark and not light).
R + G + B =
142 + 223 + 33 = 398 (100%)
R 142 of 398 ~ 35.68%
G 223 of 398 ~ 56.03%
B 33 of 398 ~ 8.29%
#8EDF21 color CMYK value is (36,0,85,13).
CMYK: (36,0,85,13) C36M0Y85K13 (36%,0%,85%,13%) (0.36/0.00/0.85/0.13)
8E | DF | 21 | |
---|---|---|---|
RGB | 142 | 223 | 33 |
HSL | 86° | 74.80% | 50.20% |
HSB/HSV | 86° | 85.20% | 87.45% |
CMYK | 36.32% | 0.00% | 85.20% |
12.55% |
HEX | 8E | DF | 21 |
Decimal | 142 | 223 | 33 |
Binary | 10001110 | 11011111 | 100001 |
Octal | 216 | 337 | 41 |
Examples of css and html codes for elements with #8EDF21 color. Also use rgb(142,223,33) instead hex code.
.myTextColor { color: #8EDF21; }
<p style="color:#8EDF21">This sample text font color is #8EDF21.</p>
This text font color is #8EDF21.
.myBgColor { background-color: #8EDF21; }
<div style="background-color:#8EDF21">Inner text</div>
This div background color is #8EDF21.
.myBorderColor { border: 1px solid #8EDF21; }
<div style="border:3px solid #8EDF21">Div</div>
This div border color is #8EDF21.
.myOpacity80 { color: #8EDF21; opacity: 0.8; }
<p style="color:#8EDF21;opacity:0.8;">80%</p>
Text with #8EDF21 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8EDF21;}
<p style="text-shadow: 3px 3px 1px #8EDF21">Text here.</p>
This text has shadow with #8EDF21 color.
.textShadow {text-shadow: 3px 3px 1px #8EDF21, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8EDF21, 5px 5px 20px red">Text here.</p>
This text has shadow with #8EDF21 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8EDF21, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8EDF21, Direction=45, Strength=4)">Text</p>
This text has shadow with #8EDF21 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8EDF21; -webkit-box-shadow: 1px 1px 3px 2px #8EDF21; box-shadow: 1px 1px 3px 2px #8EDF21; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8EDF21; -webkit-box-shadow: 1px 1px 3px 2px #8EDF21; box-shadow:1px 1px 3px 2px #8EDF21;">
Div content here</div>
This text has color #8EDF21 on black background.
This text has color #8EDF21 on white background.
This text has black color on #8EDF21 background.
This text has white color on #8EDF21 background.