In RGB color space, #040240 hex color has a red value of 4, a green value of 2 and a blue value of 64.
In CMYK color space (used in color printing), #040240 hex color is composed of 93.75% cyan, 96.88% magenta, 0% yellow and 74.9% black.
#040240 color has a hue of 241.9 degrees, a saturation of 93.94% and a lightness of 12.9%.
#040240 hex color contains mainly BLUE.
The closest web safe color of #040240 is #000033
#040240 hex color has a decimal value of 262720.
HEX | 040240 | #040240 |
---|---|---|
RGB | 4, 2, 64 | rgb(4, 2, 64) |
RGB Percent | 1.57, 0.78, 25.1 | rgb(1.57, 0.78, 25.1) |
CMYK | 94, 97, 0, 75 | |
HSL | 241.9°, 93.94, 12.9 | hsl(241.9, 93.94%, 12.9%) |
HSV | 241.9°, 96.9, 25.1 |
XYZ | 0.997, 0.439, 4.883 |
---|---|
Hunter Lab | 6.626, 15.265, -39.057 |
CIE-LAB | 3.965, 23.394, -36.634 |
CIE-LCH | 3.965, 43.466, 302.562 |
CIE-LUV | 93.75, 96.88, 0, 74.9 |
Web Safe | 000033 |
RGB percent of color #040240
CMYK percent of color #040240
Text with hexadecimal color #040240
This text has a font color of #040240
<p style="color:#040240">Text here</p>
#040240 Background Color
This box has a background color of #040240
<div style="background-color:#040240">Text here</div>
#040240 Border Color
This box has a border color of #040240
<div style="border: 4px solid #040240">Text here</div>
CSS codes
<p style="color:#040240">Text here</p>
<div style="background-color:#040240">Text here</div>
<div style="border: 4px solid #040240">Text here</div>
#040240 Color on white background
This is how a font and box color of #040240 will look
on a white background.
#040240 Color on black background
This is how a font and box color of #040240 hex color will look
on a black background.