In RGB color space, #0402ea hex color has a red value of 4, a green value of 2 and a blue value of 234.
In CMYK color space (used in color printing), #0402ea hex color is composed of 98.29% cyan, 99.15% magenta, 0% yellow and 8.24% black.
#0402ea color has a hue of 240.5 degrees, a saturation of 98.31% and a lightness of 46.3%.
#0402ea hex color contains mainly BLUE.
The closest web safe color of #0402ea is #0000ff
#0402ea hex color has a decimal value of 262890.
HEX | 0402ea | #0402ea |
---|---|---|
RGB | 4, 2, 234 | rgb(4, 2, 234) |
RGB Percent | 1.57, 0.78, 91.76 | rgb(1.57, 0.78, 91.76) |
CMYK | 98, 99, 0, 8 | |
HSL | 240.5°, 98.31, 46.3 | hsl(240.5, 98.31%, 46.3%) |
HSV | 240.5°, 99.1, 91.8 |
XYZ | 14.923, 6.01, 78.215 |
---|---|
Hunter Lab | 24.515, 65.755, -172.001 |
CIE-LAB | 29.438, 73.886, -100.777 |
CIE-LCH | 29.438, 124.961, 306.248 |
CIE-LUV | 98.29, 99.15, 0, 8.24 |
Web Safe | 0000ff |
RGB percent of color #0402ea
CMYK percent of color #0402ea
Text with hexadecimal color #0402ea
This text has a font color of #0402ea
<p style="color:#0402ea">Text here</p>
#0402ea Background Color
This box has a background color of #0402ea
<div style="background-color:#0402ea">Text here</div>
#0402ea Border Color
This box has a border color of #0402ea
<div style="border: 4px solid #0402ea">Text here</div>
CSS codes
<p style="color:#0402ea">Text here</p>
<div style="background-color:#0402ea">Text here</div>
<div style="border: 4px solid #0402ea">Text here</div>
#0402ea Color on white background
This is how a font and box color of #0402ea will look
on a white background.
#0402ea Color on black background
This is how a font and box color of #0402ea hex color will look
on a black background.