In RGB color space, #0402d5 hex color has a red value of 4, a green value of 2 and a blue value of 213.
In CMYK color space (used in color printing), #0402d5 hex color is composed of 98.12% cyan, 99.06% magenta, 0% yellow and 16.47% black.
#0402d5 color has a hue of 240.6 degrees, a saturation of 98.14% and a lightness of 42.2%.
#0402d5 hex color contains mainly BLUE.
The closest web safe color of #0402d5 is #0000cc
#0402d5 hex color has a decimal value of 262869.
HEX | 0402d5 | #0402d5 |
---|---|---|
RGB | 4, 2, 213 | rgb(4, 2, 213) |
RGB Percent | 1.57, 0.78, 83.53 | rgb(1.57, 0.78, 83.53) |
CMYK | 98, 99, 0, 16 | |
HSL | 240.6°, 98.14, 42.2 | hsl(240.6, 98.14%, 42.2%) |
HSV | 240.6°, 99.1, 83.5 |
XYZ | 12.082, 4.873, 63.255 |
---|---|
Hunter Lab | 22.075, 59.065, -154.442 |
CIE-LAB | 26.37, 68.774, -93.83 |
CIE-LCH | 26.37, 116.335, 306.24 |
CIE-LUV | 98.12, 99.06, 0, 16.47 |
Web Safe | 0000cc |
RGB percent of color #0402d5
CMYK percent of color #0402d5
Text with hexadecimal color #0402d5
This text has a font color of #0402d5
<p style="color:#0402d5">Text here</p>
#0402d5 Background Color
This box has a background color of #0402d5
<div style="background-color:#0402d5">Text here</div>
#0402d5 Border Color
This box has a border color of #0402d5
<div style="border: 4px solid #0402d5">Text here</div>
CSS codes
<p style="color:#0402d5">Text here</p>
<div style="background-color:#0402d5">Text here</div>
<div style="border: 4px solid #0402d5">Text here</div>
#0402d5 Color on white background
This is how a font and box color of #0402d5 will look
on a white background.
#0402d5 Color on black background
This is how a font and box color of #0402d5 hex color will look
on a black background.