In RGB color space, #0402d1 hex color has a red value of 4, a green value of 2 and a blue value of 209.
In CMYK color space (used in color printing), #0402d1 hex color is composed of 98.09% cyan, 99.04% magenta, 0% yellow and 18.04% black.
#0402d1 color has a hue of 240.6 degrees, a saturation of 98.1% and a lightness of 41.4%.
#0402d1 hex color contains mainly BLUE.
The closest web safe color of #0402d1 is #0000cc
#0402d1 hex color has a decimal value of 262865.
HEX | 0402d1 | #0402d1 |
---|---|---|
RGB | 4, 2, 209 | rgb(4, 2, 209) |
RGB Percent | 1.57, 0.78, 81.96 | rgb(1.57, 0.78, 81.96) |
CMYK | 98, 99, 0, 18 | |
HSL | 240.6°, 98.1, 41.4 | hsl(240.6, 98.1%, 41.4%) |
HSV | 240.6°, 99, 82 |
XYZ | 11.58, 4.673, 60.613 |
---|---|
Hunter Lab | 21.617, 57.79, -151.113 |
CIE-LAB | 25.782, 67.776, -92.487 |
CIE-LCH | 25.782, 114.662, 306.235 |
CIE-LUV | 98.09, 99.04, 0, 18.04 |
Web Safe | 0000cc |
RGB percent of color #0402d1
CMYK percent of color #0402d1
Text with hexadecimal color #0402d1
This text has a font color of #0402d1
<p style="color:#0402d1">Text here</p>
#0402d1 Background Color
This box has a background color of #0402d1
<div style="background-color:#0402d1">Text here</div>
#0402d1 Border Color
This box has a border color of #0402d1
<div style="border: 4px solid #0402d1">Text here</div>
CSS codes
<p style="color:#0402d1">Text here</p>
<div style="background-color:#0402d1">Text here</div>
<div style="border: 4px solid #0402d1">Text here</div>
#0402d1 Color on white background
This is how a font and box color of #0402d1 will look
on a white background.
#0402d1 Color on black background
This is how a font and box color of #0402d1 hex color will look
on a black background.