In RGB color space, #040142 hex color has a red value of 4, a green value of 1 and a blue value of 66.
In CMYK color space (used in color printing), #040142 hex color is composed of 93.94% cyan, 98.48% magenta, 0% yellow and 74.12% black.
#040142 color has a hue of 242.8 degrees, a saturation of 97.01% and a lightness of 13.1%.
#040142 hex color contains mainly BLUE.
The closest web safe color of #040142 is #000033
#040142 hex color has a decimal value of 262466.
HEX | 040142 | #040142 |
---|---|---|
RGB | 4, 1, 66 | rgb(4, 1, 66) |
RGB Percent | 1.57, 0.39, 25.88 | rgb(1.57, 0.39, 25.88) |
CMYK | 94, 98, 0, 74 | |
HSL | 242.8°, 97.01, 13.1 | hsl(242.8, 97.01%, 13.1%) |
HSV | 242.8°, 98.5, 25.9 |
XYZ | 1.044, 0.441, 5.184 |
---|---|
Hunter Lab | 6.641, 16.441, -41.635 |
CIE-LAB | 3.984, 25.009, -38.033 |
CIE-LCH | 3.984, 45.519, 303.327 |
CIE-LUV | 93.94, 98.48, 0, 74.12 |
Web Safe | 000033 |
RGB percent of color #040142
CMYK percent of color #040142
Text with hexadecimal color #040142
This text has a font color of #040142
<p style="color:#040142">Text here</p>
#040142 Background Color
This box has a background color of #040142
<div style="background-color:#040142">Text here</div>
#040142 Border Color
This box has a border color of #040142
<div style="border: 4px solid #040142">Text here</div>
CSS codes
<p style="color:#040142">Text here</p>
<div style="background-color:#040142">Text here</div>
<div style="border: 4px solid #040142">Text here</div>
#040142 Color on white background
This is how a font and box color of #040142 will look
on a white background.
#040142 Color on black background
This is how a font and box color of #040142 hex color will look
on a black background.