In RGB color space, #0402a6 hex color has a red value of 4, a green value of 2 and a blue value of 166.
In CMYK color space (used in color printing), #0402a6 hex color is composed of 97.59% cyan, 98.8% magenta, 0% yellow and 34.9% black.
#0402a6 color has a hue of 240.7 degrees, a saturation of 97.62% and a lightness of 32.9%.
#0402a6 hex color contains mainly BLUE.
The closest web safe color of #0402a6 is #000099
#0402a6 hex color has a decimal value of 262822.
HEX | 0402a6 | #0402a6 |
---|---|---|
RGB | 4, 2, 166 | rgb(4, 2, 166) |
RGB Percent | 1.57, 0.78, 65.1 | rgb(1.57, 0.78, 65.1) |
CMYK | 98, 99, 0, 35 | |
HSL | 240.7°, 97.62, 32.9 | hsl(240.7, 97.62%, 32.9%) |
HSV | 240.7°, 98.8, 65.1 |
XYZ | 6.955, 2.822, 36.255 |
---|---|
Hunter Lab | 16.799, 44.504, -116.2 |
CIE-LAB | 19.316, 56.907, -77.732 |
CIE-LCH | 19.316, 96.336, 306.208 |
CIE-LUV | 97.59, 98.8, 0, 34.9 |
Web Safe | 000099 |
RGB percent of color #0402a6
CMYK percent of color #0402a6
Text with hexadecimal color #0402a6
This text has a font color of #0402a6
<p style="color:#0402a6">Text here</p>
#0402a6 Background Color
This box has a background color of #0402a6
<div style="background-color:#0402a6">Text here</div>
#0402a6 Border Color
This box has a border color of #0402a6
<div style="border: 4px solid #0402a6">Text here</div>
CSS codes
<p style="color:#0402a6">Text here</p>
<div style="background-color:#0402a6">Text here</div>
<div style="border: 4px solid #0402a6">Text here</div>
#0402a6 Color on white background
This is how a font and box color of #0402a6 will look
on a white background.
#0402a6 Color on black background
This is how a font and box color of #0402a6 hex color will look
on a black background.