In RGB color space, #0402aa hex color has a red value of 4, a green value of 2 and a blue value of 170.
In CMYK color space (used in color printing), #0402aa hex color is composed of 97.65% cyan, 98.82% magenta, 0% yellow and 33.33% black.
#0402aa color has a hue of 240.7 degrees, a saturation of 97.67% and a lightness of 33.7%.
#0402aa hex color contains mainly BLUE.
The closest web safe color of #0402aa is #000099
#0402aa hex color has a decimal value of 262826.
HEX | 0402aa | #0402aa |
---|---|---|
RGB | 4, 2, 170 | rgb(4, 2, 170) |
RGB Percent | 1.57, 0.78, 66.67 | rgb(1.57, 0.78, 66.67) |
CMYK | 98, 99, 0, 33 | |
HSL | 240.7°, 97.67, 33.7 | hsl(240.7, 97.67%, 33.7%) |
HSV | 240.7°, 98.8, 66.7 |
XYZ | 7.327, 2.972, 38.218 |
---|---|
Hunter Lab | 17.239, 45.696, -119.372 |
CIE-LAB | 19.931, 57.92, -79.129 |
CIE-LCH | 19.931, 98.062, 306.203 |
CIE-LUV | 97.65, 98.82, 0, 33.33 |
Web Safe | 000099 |
RGB percent of color #0402aa
CMYK percent of color #0402aa
Text with hexadecimal color #0402aa
This text has a font color of #0402aa
<p style="color:#0402aa">Text here</p>
#0402aa Background Color
This box has a background color of #0402aa
<div style="background-color:#0402aa">Text here</div>
#0402aa Border Color
This box has a border color of #0402aa
<div style="border: 4px solid #0402aa">Text here</div>
CSS codes
<p style="color:#0402aa">Text here</p>
<div style="background-color:#0402aa">Text here</div>
<div style="border: 4px solid #0402aa">Text here</div>
#0402aa Color on white background
This is how a font and box color of #0402aa will look
on a white background.
#0402aa Color on black background
This is how a font and box color of #0402aa hex color will look
on a black background.