In RGB color space, #040fe4 hex color has a red value of 4, a green value of 15 and a blue value of 228.
In CMYK color space (used in color printing), #040fe4 hex color is composed of 98.25% cyan, 93.42% magenta, 0% yellow and 10.59% black.
#040fe4 color has a hue of 237.1 degrees, a saturation of 96.55% and a lightness of 45.5%.
#040fe4 hex color contains mainly BLUE.
The closest web safe color of #040fe4 is #0000cc
#040fe4 hex color has a decimal value of 266212.
HEX | 040fe4 | #040fe4 |
---|---|---|
RGB | 4, 15, 228 | rgb(4, 15, 228) |
RGB Percent | 1.57, 5.88, 89.41 | rgb(1.57, 5.88, 89.41) |
CMYK | 98, 93, 0, 11 | |
HSL | 237.1°, 96.55, 45.5 | hsl(237.1, 96.55%, 45.5%) |
HSV | 237.1°, 98.2, 89.4 |
XYZ | 14.224, 5.969, 73.801 |
---|---|
Hunter Lab | 24.432, 61.167, -161.997 |
CIE-LAB | 29.334, 70.054, -97.521 |
CIE-LCH | 29.334, 120.075, 305.691 |
CIE-LUV | 98.25, 93.42, 0, 10.59 |
Web Safe | 0000cc |
RGB percent of color #040fe4
CMYK percent of color #040fe4
Text with hexadecimal color #040fe4
This text has a font color of #040fe4
<p style="color:#040fe4">Text here</p>
#040fe4 Background Color
This box has a background color of #040fe4
<div style="background-color:#040fe4">Text here</div>
#040fe4 Border Color
This box has a border color of #040fe4
<div style="border: 4px solid #040fe4">Text here</div>
CSS codes
<p style="color:#040fe4">Text here</p>
<div style="background-color:#040fe4">Text here</div>
<div style="border: 4px solid #040fe4">Text here</div>
#040fe4 Color on white background
This is how a font and box color of #040fe4 will look
on a white background.
#040fe4 Color on black background
This is how a font and box color of #040fe4 hex color will look
on a black background.