In RGB color space, #42af42 hex color has a red value of 66, a green value of 175 and a blue value of 66.
In CMYK color space (used in color printing), #42af42 hex color is composed of 62.29% cyan, 0% magenta, 62.29% yellow and 31.37% black.
#42af42 color has a hue of 120 degrees, a saturation of 45.23% and a lightness of 47.3%.
#42af42 hex color contains mainly GREEN.
The closest web safe color of #42af42 is #339933
#42af42 hex color has a decimal value of 4370242.
HEX | 42af42 | #42af42 |
---|---|---|
RGB | 66, 175, 66 | rgb(66, 175, 66) |
RGB Percent | 25.88, 68.63, 25.88 | rgb(25.88, 68.63, 25.88) |
CMYK | 62, 0, 62, 31 | |
HSL | 120°, 45.23, 47.3 | hsl(120, 45.23%, 47.3%) |
HSV | 120°, 62.3, 68.6 |
XYZ | 18.56, 32.212, 10.393 |
---|---|
Hunter Lab | 56.756, -40.95, 28.872 |
CIE-LAB | 63.518, -52.67, 45.697 |
CIE-LCH | 63.518, 69.731, 139.055 |
CIE-LUV | 62.29, 0, 62.29, 31.37 |
Web Safe | 339933 |
RGB percent of color #42af42
CMYK percent of color #42af42
Text with hexadecimal color #42af42
This text has a font color of #42af42
<p style="color:#42af42">Text here</p>
#42af42 Background Color
This box has a background color of #42af42
<div style="background-color:#42af42">Text here</div>
#42af42 Border Color
This box has a border color of #42af42
<div style="border: 4px solid #42af42">Text here</div>
CSS codes
<p style="color:#42af42">Text here</p>
<div style="background-color:#42af42">Text here</div>
<div style="border: 4px solid #42af42">Text here</div>
#42af42 Color on white background
This is how a font and box color of #42af42 will look
on a white background.
#42af42 Color on black background
This is how a font and box color of #42af42 hex color will look
on a black background.