In RGB color space, #040db2 hex color has a red value of 4, a green value of 13 and a blue value of 178.
In CMYK color space (used in color printing), #040db2 hex color is composed of 97.75% cyan, 92.7% magenta, 0% yellow and 30.2% black.
#040db2 color has a hue of 236.9 degrees, a saturation of 95.6% and a lightness of 35.7%.
#040db2 hex color contains mainly BLUE.
The closest web safe color of #040db2 is #000099
#040db2 hex color has a decimal value of 265650.
HEX | 040db2 | #040db2 |
---|---|---|
RGB | 4, 13, 178 | rgb(4, 13, 178) |
RGB Percent | 1.57, 5.1, 69.8 | rgb(1.57, 5.1, 69.8) |
CMYK | 98, 93, 0, 30 | |
HSL | 236.9°, 95.6, 35.7 | hsl(236.9, 95.6%, 35.7%) |
HSV | 236.9°, 97.8, 69.8 |
XYZ | 8.23, 3.528, 42.367 |
---|---|
Hunter Lab | 18.783, 45.342, -120.587 |
CIE-LAB | 22.045, 57.214, -80.416 |
CIE-LCH | 22.045, 98.692, 305.431 |
CIE-LUV | 97.75, 92.7, 0, 30.2 |
Web Safe | 000099 |
RGB percent of color #040db2
CMYK percent of color #040db2
Text with hexadecimal color #040db2
This text has a font color of #040db2
<p style="color:#040db2">Text here</p>
#040db2 Background Color
This box has a background color of #040db2
<div style="background-color:#040db2">Text here</div>
#040db2 Border Color
This box has a border color of #040db2
<div style="border: 4px solid #040db2">Text here</div>
CSS codes
<p style="color:#040db2">Text here</p>
<div style="background-color:#040db2">Text here</div>
<div style="border: 4px solid #040db2">Text here</div>
#040db2 Color on white background
This is how a font and box color of #040db2 will look
on a white background.
#040db2 Color on black background
This is how a font and box color of #040db2 hex color will look
on a black background.