In RGB color space, #0402f1 hex color has a red value of 4, a green value of 2 and a blue value of 241.
In CMYK color space (used in color printing), #0402f1 hex color is composed of 98.34% cyan, 99.17% magenta, 0% yellow and 5.49% black.
#0402f1 color has a hue of 240.5 degrees, a saturation of 98.35% and a lightness of 47.6%.
#0402f1 hex color contains mainly BLUE.
The closest web safe color of #0402f1 is #0000ff
#0402f1 hex color has a decimal value of 262897.
HEX | 0402f1 | #0402f1 |
---|---|---|
RGB | 4, 2, 241 | rgb(4, 2, 241) |
RGB Percent | 1.57, 0.78, 94.51 | rgb(1.57, 0.78, 94.51) |
CMYK | 98, 99, 0, 5 | |
HSL | 240.5°, 98.35, 47.6 | hsl(240.5, 98.35%, 47.6%) |
HSV | 240.5°, 99.2, 94.5 |
XYZ | 15.949, 6.42, 83.618 |
---|---|
Hunter Lab | 25.338, 68.017, -177.929 |
CIE-LAB | 30.448, 75.575, -103.068 |
CIE-LCH | 30.448, 127.807, 306.251 |
CIE-LUV | 98.34, 99.17, 0, 5.49 |
Web Safe | 0000ff |
RGB percent of color #0402f1
CMYK percent of color #0402f1
Text with hexadecimal color #0402f1
This text has a font color of #0402f1
<p style="color:#0402f1">Text here</p>
#0402f1 Background Color
This box has a background color of #0402f1
<div style="background-color:#0402f1">Text here</div>
#0402f1 Border Color
This box has a border color of #0402f1
<div style="border: 4px solid #0402f1">Text here</div>
CSS codes
<p style="color:#0402f1">Text here</p>
<div style="background-color:#0402f1">Text here</div>
<div style="border: 4px solid #0402f1">Text here</div>
#0402f1 Color on white background
This is how a font and box color of #0402f1 will look
on a white background.
#0402f1 Color on black background
This is how a font and box color of #0402f1 hex color will look
on a black background.