In RGB color space, #040df2 hex color has a red value of 4, a green value of 13 and a blue value of 242.
In CMYK color space (used in color printing), #040df2 hex color is composed of 98.35% cyan, 94.63% magenta, 0% yellow and 5.1% black.
#040df2 color has a hue of 237.7 degrees, a saturation of 96.75% and a lightness of 48.2%.
#040df2 hex color contains mainly BLUE.
The closest web safe color of #040df2 is #0000ff
#040df2 hex color has a decimal value of 265714.
HEX | 040df2 | #040df2 |
---|---|---|
RGB | 4, 13, 242 | rgb(4, 13, 242) |
RGB Percent | 1.57, 5.1, 94.9 | rgb(1.57, 5.1, 94.9) |
CMYK | 98, 95, 0, 5 | |
HSL | 237.7°, 96.75, 48.2 | hsl(237.7, 96.75%, 48.2%) |
HSV | 237.7°, 98.3, 94.9 |
XYZ | 16.221, 6.724, 84.447 |
---|---|
Hunter Lab | 25.931, 66.282, -174.935 |
CIE-LAB | 31.17, 74.023, -102.427 |
CIE-LCH | 31.17, 126.375, 305.855 |
CIE-LUV | 98.35, 94.63, 0, 5.1 |
Web Safe | 0000ff |
RGB percent of color #040df2
CMYK percent of color #040df2
Text with hexadecimal color #040df2
This text has a font color of #040df2
<p style="color:#040df2">Text here</p>
#040df2 Background Color
This box has a background color of #040df2
<div style="background-color:#040df2">Text here</div>
#040df2 Border Color
This box has a border color of #040df2
<div style="border: 4px solid #040df2">Text here</div>
CSS codes
<p style="color:#040df2">Text here</p>
<div style="background-color:#040df2">Text here</div>
<div style="border: 4px solid #040df2">Text here</div>
#040df2 Color on white background
This is how a font and box color of #040df2 will look
on a white background.
#040df2 Color on black background
This is how a font and box color of #040df2 hex color will look
on a black background.