In RGB color space, #408040 hex color has a red value of 64, a green value of 128 and a blue value of 64.
In CMYK color space (used in color printing), #408040 hex color is composed of 50% cyan, 0% magenta, 50% yellow and 49.8% black.
#408040 color has a hue of 120 degrees, a saturation of 33.33% and a lightness of 37.6%.
#408040 hex color contains mainly GREEN.
The closest web safe color of #408040 is #339933
#408040 hex color has a decimal value of 4227136.
HEX | 408040 | #408040 |
---|---|---|
RGB | 64, 128, 64 | rgb(64, 128, 64) |
RGB Percent | 25.1, 50.2, 25.1 | rgb(25.1, 50.2, 25.1) |
CMYK | 50, 0, 50, 50 | |
HSL | 120°, 33.33, 37.6 | hsl(120, 33.33%, 37.6%) |
HSV | 120°, 50, 50.2 |
XYZ | 10.759, 16.898, 7.545 |
---|---|
Hunter Lab | 41.107, -25.219, 17.893 |
CIE-LAB | 48.131, -34.558, 28.423 |
CIE-LCH | 48.131, 44.745, 140.564 |
CIE-LUV | 50, 0, 50, 49.8 |
Web Safe | 339933 |
RGB percent of color #408040
CMYK percent of color #408040
Text with hexadecimal color #408040
This text has a font color of #408040
<p style="color:#408040">Text here</p>
#408040 Background Color
This box has a background color of #408040
<div style="background-color:#408040">Text here</div>
#408040 Border Color
This box has a border color of #408040
<div style="border: 4px solid #408040">Text here</div>
CSS codes
<p style="color:#408040">Text here</p>
<div style="background-color:#408040">Text here</div>
<div style="border: 4px solid #408040">Text here</div>
#408040 Color on white background
This is how a font and box color of #408040 will look
on a white background.
#408040 Color on black background
This is how a font and box color of #408040 hex color will look
on a black background.