HEX: #42D43A
RGB: (66,212,58)
#42D43A contains mainly green color. Web safe color of #42D43A is #33CC33 (or #3C3).
#42D43A color RGB value is (66,212,58).
RGB: (66,212,58) (26%,83%,23%)
R 66 of 255 = 26%
G 212 of 255 = 83%
B 58 of 255 = 23%
R + G + B ~ 44%. #42D43A is middle color (not dark and not light).
R + G + B =
66 + 212 + 58 = 336 (100%)
R 66 of 336 ~ 19.64%
G 212 of 336 ~ 63.1%
B 58 of 336 ~ 17.26%
#42D43A color CMYK value is (69,0,73,17).
CMYK: (69,0,73,17) C69M0Y73K17 (69%,0%,73%,17%) (0.69/0.00/0.73/0.17)
42 | D4 | 3A | |
---|---|---|---|
RGB | 66 | 212 | 58 |
HSL | 117° | 64.17% | 52.94% |
HSB/HSV | 117° | 72.64% | 83.14% |
CMYK | 68.87% | 0.00% | 72.64% |
16.86% |
HEX | 42 | D4 | 3A |
Decimal | 66 | 212 | 58 |
Binary | 1000010 | 11010100 | 111010 |
Octal | 102 | 324 | 72 |
Examples of css and html codes for elements with #42D43A color. Also use rgb(66,212,58) instead hex code.
.myTextColor { color: #42D43A; }
<p style="color:#42D43A">This sample text font color is #42D43A.</p>
This text font color is #42D43A.
.myBgColor { background-color: #42D43A; }
<div style="background-color:#42D43A">Inner text</div>
This div background color is #42D43A.
.myBorderColor { border: 1px solid #42D43A; }
<div style="border:3px solid #42D43A">Div</div>
This div border color is #42D43A.
.myOpacity80 { color: #42D43A; opacity: 0.8; }
<p style="color:#42D43A;opacity:0.8;">80%</p>
Text with #42D43A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #42D43A;}
<p style="text-shadow: 3px 3px 1px #42D43A">Text here.</p>
This text has shadow with #42D43A color.
.textShadow {text-shadow: 3px 3px 1px #42D43A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #42D43A, 5px 5px 20px red">Text here.</p>
This text has shadow with #42D43A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#42D43A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#42D43A, Direction=45, Strength=4)">Text</p>
This text has shadow with #42D43A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #42D43A; -webkit-box-shadow: 1px 1px 3px 2px #42D43A; box-shadow: 1px 1px 3px 2px #42D43A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #42D43A; -webkit-box-shadow: 1px 1px 3px 2px #42D43A; box-shadow:1px 1px 3px 2px #42D43A;">
Div content here</div>
This text has color #42D43A on black background.
This text has color #42D43A on white background.
This text has black color on #42D43A background.
This text has white color on #42D43A background.