In RGB color space, #040098 hex color has a red value of 4, a green value of 0 and a blue value of 152.
In CMYK color space (used in color printing), #040098 hex color is composed of 97.37% cyan, 100% magenta, 0% yellow and 40.39% black.
#040098 color has a hue of 241.6 degrees, a saturation of 100% and a lightness of 29.8%.
#040098 hex color contains mainly BLUE.
The closest web safe color of #040098 is #000099
#040098 hex color has a decimal value of 262296.
HEX | 040098 | #040098 |
---|---|---|
RGB | 4, 0, 152 | rgb(4, 0, 152) |
RGB Percent | 1.57, 0, 59.61 | rgb(1.57, 0, 59.61) |
CMYK | 97, 100, 0, 40 | |
HSL | 241.6°, 100, 29.8 | hsl(241.6, 100%, 29.8%) |
HSV | 241.6°, 100, 59.6 |
XYZ | 5.718, 2.293, 29.847 |
---|---|
Hunter Lab | 15.143, 40.904, -106.264 |
CIE-LAB | 16.955, 53.868, -73.101 |
CIE-LCH | 16.955, 90.805, 306.386 |
CIE-LUV | 97.37, 100, 0, 40.39 |
Web Safe | 000099 |
RGB percent of color #040098
CMYK percent of color #040098
Text with hexadecimal color #040098
This text has a font color of #040098
<p style="color:#040098">Text here</p>
#040098 Background Color
This box has a background color of #040098
<div style="background-color:#040098">Text here</div>
#040098 Border Color
This box has a border color of #040098
<div style="border: 4px solid #040098">Text here</div>
CSS codes
<p style="color:#040098">Text here</p>
<div style="background-color:#040098">Text here</div>
<div style="border: 4px solid #040098">Text here</div>
#040098 Color on white background
This is how a font and box color of #040098 will look
on a white background.
#040098 Color on black background
This is how a font and box color of #040098 hex color will look
on a black background.