In RGB color space, #0402f0 hex color has a red value of 4, a green value of 2 and a blue value of 240.
In CMYK color space (used in color printing), #0402f0 hex color is composed of 98.33% cyan, 99.17% magenta, 0% yellow and 5.88% black.
#0402f0 color has a hue of 240.5 degrees, a saturation of 98.35% and a lightness of 47.5%.
#0402f0 hex color contains mainly BLUE.
The closest web safe color of #0402f0 is #0000ff
#0402f0 hex color has a decimal value of 262896.
HEX | 0402f0 | #0402f0 |
---|---|---|
RGB | 4, 2, 240 | rgb(4, 2, 240) |
RGB Percent | 1.57, 0.78, 94.12 | rgb(1.57, 0.78, 94.12) |
CMYK | 98, 99, 0, 6 | |
HSL | 240.5°, 98.35, 47.5 | hsl(240.5, 98.35%, 47.5%) |
HSV | 240.5°, 99.2, 94.1 |
XYZ | 15.8, 6.36, 82.833 |
---|---|
Hunter Lab | 25.219, 67.699, -177.087 |
CIE-LAB | 30.303, 75.34, -102.743 |
CIE-LCH | 30.303, 127.406, 306.252 |
CIE-LUV | 98.33, 99.17, 0, 5.88 |
Web Safe | 0000ff |
RGB percent of color #0402f0
CMYK percent of color #0402f0
Text with hexadecimal color #0402f0
This text has a font color of #0402f0
<p style="color:#0402f0">Text here</p>
#0402f0 Background Color
This box has a background color of #0402f0
<div style="background-color:#0402f0">Text here</div>
#0402f0 Border Color
This box has a border color of #0402f0
<div style="border: 4px solid #0402f0">Text here</div>
CSS codes
<p style="color:#0402f0">Text here</p>
<div style="background-color:#0402f0">Text here</div>
<div style="border: 4px solid #0402f0">Text here</div>
#0402f0 Color on white background
This is how a font and box color of #0402f0 will look
on a white background.
#0402f0 Color on black background
This is how a font and box color of #0402f0 hex color will look
on a black background.