In RGB color space, #0402e4 hex color has a red value of 4, a green value of 2 and a blue value of 228.
In CMYK color space (used in color printing), #0402e4 hex color is composed of 98.25% cyan, 99.12% magenta, 0% yellow and 10.59% black.
#0402e4 color has a hue of 240.5 degrees, a saturation of 98.26% and a lightness of 45.1%.
#0402e4 hex color contains mainly BLUE.
The closest web safe color of #0402e4 is #0000cc
#0402e4 hex color has a decimal value of 262884.
HEX | 0402e4 | #0402e4 |
---|---|---|
RGB | 4, 2, 228 | rgb(4, 2, 228) |
RGB Percent | 1.57, 0.78, 89.41 | rgb(1.57, 0.78, 89.41) |
CMYK | 98, 99, 0, 11 | |
HSL | 240.5°, 98.26, 45.1 | hsl(240.5, 98.26%, 45.1%) |
HSV | 240.5°, 99.1, 89.4 |
XYZ | 14.075, 5.671, 73.751 |
---|---|
Hunter Lab | 23.814, 63.827, -166.95 |
CIE-LAB | 28.567, 72.431, -98.804 |
CIE-LCH | 28.567, 122.509, 306.244 |
CIE-LUV | 98.25, 99.12, 0, 10.59 |
Web Safe | 0000cc |
RGB percent of color #0402e4
CMYK percent of color #0402e4
Text with hexadecimal color #0402e4
This text has a font color of #0402e4
<p style="color:#0402e4">Text here</p>
#0402e4 Background Color
This box has a background color of #0402e4
<div style="background-color:#0402e4">Text here</div>
#0402e4 Border Color
This box has a border color of #0402e4
<div style="border: 4px solid #0402e4">Text here</div>
CSS codes
<p style="color:#0402e4">Text here</p>
<div style="background-color:#0402e4">Text here</div>
<div style="border: 4px solid #0402e4">Text here</div>
#0402e4 Color on white background
This is how a font and box color of #0402e4 will look
on a white background.
#0402e4 Color on black background
This is how a font and box color of #0402e4 hex color will look
on a black background.