In RGB color space, #0402fe hex color has a red value of 4, a green value of 2 and a blue value of 254.
In CMYK color space (used in color printing), #0402fe hex color is composed of 98.43% cyan, 99.21% magenta, 0% yellow and 0.39% black.
#0402fe color has a hue of 240.5 degrees, a saturation of 99.21% and a lightness of 50.2%.
#0402fe hex color contains mainly BLUE.
The closest web safe color of #0402fe is #0000ff
#0402fe hex color has a decimal value of 262910.
HEX | 0402fe | #0402fe |
---|---|---|
RGB | 4, 2, 254 | rgb(4, 2, 254) |
RGB Percent | 1.57, 0.78, 99.61 | rgb(1.57, 0.78, 99.61) |
CMYK | 98, 99, 0, 0 | |
HSL | 240.5°, 99.21, 50.2 | hsl(240.5, 99.21%, 50.2%) |
HSV | 240.5°, 99.2, 99.6 |
XYZ | 17.961, 7.225, 94.214 |
---|---|
Hunter Lab | 26.879, 72.236, -189 |
CIE-LAB | 32.314, 78.675, -107.282 |
CIE-LCH | 32.314, 133.038, 306.254 |
CIE-LUV | 98.43, 99.21, 0, 0.39 |
Web Safe | 0000ff |
RGB percent of color #0402fe
CMYK percent of color #0402fe
Text with hexadecimal color #0402fe
This text has a font color of #0402fe
<p style="color:#0402fe">Text here</p>
#0402fe Background Color
This box has a background color of #0402fe
<div style="background-color:#0402fe">Text here</div>
#0402fe Border Color
This box has a border color of #0402fe
<div style="border: 4px solid #0402fe">Text here</div>
CSS codes
<p style="color:#0402fe">Text here</p>
<div style="background-color:#0402fe">Text here</div>
<div style="border: 4px solid #0402fe">Text here</div>
#0402fe Color on white background
This is how a font and box color of #0402fe will look
on a white background.
#0402fe Color on black background
This is how a font and box color of #0402fe hex color will look
on a black background.