In RGB color space, #0402ab hex color has a red value of 4, a green value of 2 and a blue value of 171.
In CMYK color space (used in color printing), #0402ab hex color is composed of 97.66% cyan, 98.83% magenta, 0% yellow and 32.94% black.
#0402ab color has a hue of 240.7 degrees, a saturation of 97.69% and a lightness of 33.9%.
#0402ab hex color contains mainly BLUE.
The closest web safe color of #0402ab is #000099
#0402ab hex color has a decimal value of 262827.
HEX | 0402ab | #0402ab |
---|---|---|
RGB | 4, 2, 171 | rgb(4, 2, 171) |
RGB Percent | 1.57, 0.78, 67.06 | rgb(1.57, 0.78, 67.06) |
CMYK | 98, 99, 0, 33 | |
HSL | 240.7°, 97.69, 33.9 | hsl(240.7, 97.69%, 33.9%) |
HSV | 240.7°, 98.8, 67.1 |
XYZ | 7.422, 3.01, 38.718 |
---|---|
Hunter Lab | 17.349, 46, -120.171 |
CIE-LAB | 20.084, 58.179, -79.479 |
CIE-LCH | 20.084, 98.497, 306.204 |
CIE-LUV | 97.66, 98.83, 0, 32.94 |
Web Safe | 000099 |
RGB percent of color #0402ab
CMYK percent of color #0402ab
Text with hexadecimal color #0402ab
This text has a font color of #0402ab
<p style="color:#0402ab">Text here</p>
#0402ab Background Color
This box has a background color of #0402ab
<div style="background-color:#0402ab">Text here</div>
#0402ab Border Color
This box has a border color of #0402ab
<div style="border: 4px solid #0402ab">Text here</div>
CSS codes
<p style="color:#0402ab">Text here</p>
<div style="background-color:#0402ab">Text here</div>
<div style="border: 4px solid #0402ab">Text here</div>
#0402ab Color on white background
This is how a font and box color of #0402ab will look
on a white background.
#0402ab Color on black background
This is how a font and box color of #0402ab hex color will look
on a black background.