In RGB color space, #040f28 hex color has a red value of 4, a green value of 15 and a blue value of 40.
In CMYK color space (used in color printing), #040f28 hex color is composed of 90% cyan, 62.5% magenta, 0% yellow and 84.31% black.
#040f28 color has a hue of 221.7 degrees, a saturation of 81.82% and a lightness of 8.6%.
#040f28 hex color contains mainly BLUE.
The closest web safe color of #040f28 is #000033
#040f28 hex color has a decimal value of 266024.
HEX | 040f28 | #040f28 |
---|---|---|
RGB | 4, 15, 40 | rgb(4, 15, 40) |
RGB Percent | 1.57, 5.88, 15.69 | rgb(1.57, 5.88, 15.69) |
CMYK | 90, 63, 0, 84 | |
HSL | 221.7°, 81.82, 8.6 | hsl(221.7, 81.82%, 8.6%) |
HSV | 221.7°, 90, 15.7 |
XYZ | 0.604, 0.521, 2.076 |
---|---|
Hunter Lab | 7.218, 2.305, -12 |
CIE-LAB | 4.706, 4.457, -17.73 |
CIE-LCH | 4.706, 18.282, 284.111 |
CIE-LUV | 90, 62.5, 0, 84.31 |
Web Safe | 000033 |
RGB percent of color #040f28
CMYK percent of color #040f28
Text with hexadecimal color #040f28
This text has a font color of #040f28
<p style="color:#040f28">Text here</p>
#040f28 Background Color
This box has a background color of #040f28
<div style="background-color:#040f28">Text here</div>
#040f28 Border Color
This box has a border color of #040f28
<div style="border: 4px solid #040f28">Text here</div>
CSS codes
<p style="color:#040f28">Text here</p>
<div style="background-color:#040f28">Text here</div>
<div style="border: 4px solid #040f28">Text here</div>
#040f28 Color on white background
This is how a font and box color of #040f28 will look
on a white background.
#040f28 Color on black background
This is how a font and box color of #040f28 hex color will look
on a black background.