In RGB color space, #040ad4 hex color has a red value of 4, a green value of 10 and a blue value of 212.
In CMYK color space (used in color printing), #040ad4 hex color is composed of 98.11% cyan, 95.28% magenta, 0% yellow and 16.86% black.
#040ad4 color has a hue of 238.3 degrees, a saturation of 96.3% and a lightness of 42.4%.
#040ad4 hex color contains mainly BLUE.
The closest web safe color of #040ad4 is #0000cc
#040ad4 hex color has a decimal value of 264916.
HEX | 040ad4 | #040ad4 |
---|---|---|
RGB | 4, 10, 212 | rgb(4, 10, 212) |
RGB Percent | 1.57, 3.92, 83.14 | rgb(1.57, 3.92, 83.14) |
CMYK | 98, 95, 0, 17 | |
HSL | 238.3°, 96.3, 42.4 | hsl(238.3, 96.3%, 42.4%) |
HSV | 238.3°, 98.1, 83.1 |
XYZ | 12.042, 4.996, 62.617 |
---|---|
Hunter Lab | 22.352, 57.051, -150.451 |
CIE-LAB | 26.723, 66.973, -92.658 |
CIE-LCH | 26.723, 114.328, 305.859 |
CIE-LUV | 98.11, 95.28, 0, 16.86 |
Web Safe | 0000cc |
RGB percent of color #040ad4
CMYK percent of color #040ad4
Text with hexadecimal color #040ad4
This text has a font color of #040ad4
<p style="color:#040ad4">Text here</p>
#040ad4 Background Color
This box has a background color of #040ad4
<div style="background-color:#040ad4">Text here</div>
#040ad4 Border Color
This box has a border color of #040ad4
<div style="border: 4px solid #040ad4">Text here</div>
CSS codes
<p style="color:#040ad4">Text here</p>
<div style="background-color:#040ad4">Text here</div>
<div style="border: 4px solid #040ad4">Text here</div>
#040ad4 Color on white background
This is how a font and box color of #040ad4 will look
on a white background.
#040ad4 Color on black background
This is how a font and box color of #040ad4 hex color will look
on a black background.