In RGB color space, #040218 hex color has a red value of 4, a green value of 2 and a blue value of 24.
In CMYK color space (used in color printing), #040218 hex color is composed of 83.33% cyan, 91.67% magenta, 0% yellow and 90.59% black.
#040218 color has a hue of 245.5 degrees, a saturation of 84.62% and a lightness of 5.1%.
#040218 hex color contains mainly BLUE.
The closest web safe color of #040218 is #000000
#040218 hex color has a decimal value of 262680.
HEX | 040218 | #040218 |
---|---|---|
RGB | 4, 2, 24 | rgb(4, 2, 24) |
RGB Percent | 1.57, 0.78, 9.41 | rgb(1.57, 0.78, 9.41) |
CMYK | 83, 92, 0, 91 | |
HSL | 245.5°, 84.62, 5.1 | hsl(245.5, 84.62%, 5.1%) |
HSV | 245.5°, 91.7, 9.4 |
XYZ | 0.237, 0.135, 0.878 |
---|---|
Hunter Lab | 3.674, 5.084, -11.596 |
CIE-LAB | 1.219, 4.452, -10.456 |
CIE-LCH | 1.219, 11.364, 293.064 |
CIE-LUV | 83.33, 91.67, 0, 90.59 |
Web Safe | 000000 |
RGB percent of color #040218
CMYK percent of color #040218
Text with hexadecimal color #040218
This text has a font color of #040218
<p style="color:#040218">Text here</p>
#040218 Background Color
This box has a background color of #040218
<div style="background-color:#040218">Text here</div>
#040218 Border Color
This box has a border color of #040218
<div style="border: 4px solid #040218">Text here</div>
CSS codes
<p style="color:#040218">Text here</p>
<div style="background-color:#040218">Text here</div>
<div style="border: 4px solid #040218">Text here</div>
#040218 Color on white background
This is how a font and box color of #040218 will look
on a white background.
#040218 Color on black background
This is how a font and box color of #040218 hex color will look
on a black background.