In RGB color space, #42a228 hex color has a red value of 66, a green value of 162 and a blue value of 40.
In CMYK color space (used in color printing), #42a228 hex color is composed of 59.26% cyan, 0% magenta, 75.31% yellow and 36.47% black.
#42a228 color has a hue of 107.2 degrees, a saturation of 60.4% and a lightness of 39.6%.
#42a228 hex color contains mainly GREEN.
The closest web safe color of #42a228 is #339933
#42a228 hex color has a decimal value of 4366888.
HEX | 42a228 | #42a228 |
---|---|---|
RGB | 66, 162, 40 | rgb(66, 162, 40) |
RGB Percent | 25.88, 63.53, 15.69 | rgb(25.88, 63.53, 15.69) |
CMYK | 59, 0, 75, 36 | |
HSL | 107.2°, 60.4, 39.6 | hsl(107.2, 60.4%, 39.6%) |
HSV | 107.2°, 75.3, 63.5 |
XYZ | 15.55, 27.152, 6.429 |
---|---|
Hunter Lab | 52.108, -37.92, 29.16 |
CIE-LAB | 59.115, -50.306, 51.628 |
CIE-LCH | 59.115, 72.084, 134.257 |
CIE-LUV | 59.26, 0, 75.31, 36.47 |
Web Safe | 339933 |
RGB percent of color #42a228
CMYK percent of color #42a228
Text with hexadecimal color #42a228
This text has a font color of #42a228
<p style="color:#42a228">Text here</p>
#42a228 Background Color
This box has a background color of #42a228
<div style="background-color:#42a228">Text here</div>
#42a228 Border Color
This box has a border color of #42a228
<div style="border: 4px solid #42a228">Text here</div>
CSS codes
<p style="color:#42a228">Text here</p>
<div style="background-color:#42a228">Text here</div>
<div style="border: 4px solid #42a228">Text here</div>
#42a228 Color on white background
This is how a font and box color of #42a228 will look
on a white background.
#42a228 Color on black background
This is how a font and box color of #42a228 hex color will look
on a black background.