HEX: #42C058
RGB: (66,192,88)
#42C058 contains mainly green color. Web safe color of #42C058 is #33CC66 (or #3C6).
#42C058 color RGB value is (66,192,88).
RGB: (66,192,88) (26%,75%,35%)
R 66 of 255 = 26%
G 192 of 255 = 75%
B 88 of 255 = 35%
R + G + B ~ 45%. #42C058 is middle color (not dark and not light).
R + G + B =
66 + 192 + 88 = 346 (100%)
R 66 of 346 ~ 19.08%
G 192 of 346 ~ 55.49%
B 88 of 346 ~ 25.43%
#42C058 color CMYK value is (66,0,54,25).
CMYK: (66,0,54,25) C66M0Y54K25 (66%,0%,54%,25%) (0.66/0.00/0.54/0.25)
42 | C0 | 58 | |
---|---|---|---|
RGB | 66 | 192 | 88 |
HSL | 130° | 50.00% | 50.59% |
HSB/HSV | 130° | 65.63% | 75.29% |
CMYK | 65.63% | 0.00% | 54.17% |
24.71% |
HEX | 42 | C0 | 58 |
Decimal | 66 | 192 | 88 |
Binary | 1000010 | 11000000 | 1011000 |
Octal | 102 | 300 | 130 |
Examples of css and html codes for elements with #42C058 color. Also use rgb(66,192,88) instead hex code.
.myTextColor { color: #42C058; }
<p style="color:#42C058">This sample text font color is #42C058.</p>
This text font color is #42C058.
.myBgColor { background-color: #42C058; }
<div style="background-color:#42C058">Inner text</div>
This div background color is #42C058.
.myBorderColor { border: 1px solid #42C058; }
<div style="border:3px solid #42C058">Div</div>
This div border color is #42C058.
.myOpacity80 { color: #42C058; opacity: 0.8; }
<p style="color:#42C058;opacity:0.8;">80%</p>
Text with #42C058 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #42C058;}
<p style="text-shadow: 3px 3px 1px #42C058">Text here.</p>
This text has shadow with #42C058 color.
.textShadow {text-shadow: 3px 3px 1px #42C058, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #42C058, 5px 5px 20px red">Text here.</p>
This text has shadow with #42C058 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#42C058, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#42C058, Direction=45, Strength=4)">Text</p>
This text has shadow with #42C058 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #42C058; -webkit-box-shadow: 1px 1px 3px 2px #42C058; box-shadow: 1px 1px 3px 2px #42C058; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #42C058; -webkit-box-shadow: 1px 1px 3px 2px #42C058; box-shadow:1px 1px 3px 2px #42C058;">
Div content here</div>
This text has color #42C058 on black background.
This text has color #42C058 on white background.
This text has black color on #42C058 background.
This text has white color on #42C058 background.