In RGB color space, #0402b6 hex color has a red value of 4, a green value of 2 and a blue value of 182.
In CMYK color space (used in color printing), #0402b6 hex color is composed of 97.8% cyan, 98.9% magenta, 0% yellow and 28.63% black.
#0402b6 color has a hue of 240.7 degrees, a saturation of 97.83% and a lightness of 36.1%.
#0402b6 hex color contains mainly BLUE.
The closest web safe color of #0402b6 is #0000cc
#0402b6 hex color has a decimal value of 262838.
HEX | 0402b6 | #0402b6 |
---|---|---|
RGB | 4, 2, 182 | rgb(4, 2, 182) |
RGB Percent | 1.57, 0.78, 71.37 | rgb(1.57, 0.78, 71.37) |
CMYK | 98, 99, 0, 29 | |
HSL | 240.7°, 97.83, 36.1 | hsl(240.7, 97.83%, 36.1%) |
HSV | 240.7°, 98.9, 71.4 |
XYZ | 8.515, 3.447, 44.472 |
---|---|
Hunter Lab | 18.566, 49.375, -129.023 |
CIE-LAB | 21.752, 61.004, -83.301 |
CIE-LCH | 21.752, 103.25, 306.217 |
CIE-LUV | 97.8, 98.9, 0, 28.63 |
Web Safe | 0000cc |
RGB percent of color #0402b6
CMYK percent of color #0402b6
Text with hexadecimal color #0402b6
This text has a font color of #0402b6
<p style="color:#0402b6">Text here</p>
#0402b6 Background Color
This box has a background color of #0402b6
<div style="background-color:#0402b6">Text here</div>
#0402b6 Border Color
This box has a border color of #0402b6
<div style="border: 4px solid #0402b6">Text here</div>
CSS codes
<p style="color:#0402b6">Text here</p>
<div style="background-color:#0402b6">Text here</div>
<div style="border: 4px solid #0402b6">Text here</div>
#0402b6 Color on white background
This is how a font and box color of #0402b6 will look
on a white background.
#0402b6 Color on black background
This is how a font and box color of #0402b6 hex color will look
on a black background.