In RGB color space, #040fd1 hex color has a red value of 4, a green value of 15 and a blue value of 209.
In CMYK color space (used in color printing), #040fd1 hex color is composed of 98.09% cyan, 92.82% magenta, 0% yellow and 18.04% black.
#040fd1 color has a hue of 236.8 degrees, a saturation of 96.24% and a lightness of 41.8%.
#040fd1 hex color contains mainly BLUE.
The closest web safe color of #040fd1 is #0000cc
#040fd1 hex color has a decimal value of 266193.
HEX | 040fd1 | #040fd1 |
---|---|---|
RGB | 4, 15, 209 | rgb(4, 15, 209) |
RGB Percent | 1.57, 5.88, 81.96 | rgb(1.57, 5.88, 81.96) |
CMYK | 98, 93, 0, 18 | |
HSL | 236.8°, 96.24, 41.8 | hsl(236.8, 96.24%, 41.8%) |
HSV | 236.8°, 98.1, 82 |
XYZ | 11.73, 4.971, 60.663 |
---|---|
Hunter Lab | 22.296, 54.893, -145.711 |
CIE-LAB | 26.652, 65.092, -91.032 |
CIE-LCH | 26.652, 111.91, 305.566 |
CIE-LUV | 98.09, 92.82, 0, 18.04 |
Web Safe | 0000cc |
RGB percent of color #040fd1
CMYK percent of color #040fd1
Text with hexadecimal color #040fd1
This text has a font color of #040fd1
<p style="color:#040fd1">Text here</p>
#040fd1 Background Color
This box has a background color of #040fd1
<div style="background-color:#040fd1">Text here</div>
#040fd1 Border Color
This box has a border color of #040fd1
<div style="border: 4px solid #040fd1">Text here</div>
CSS codes
<p style="color:#040fd1">Text here</p>
<div style="background-color:#040fd1">Text here</div>
<div style="border: 4px solid #040fd1">Text here</div>
#040fd1 Color on white background
This is how a font and box color of #040fd1 will look
on a white background.
#040fd1 Color on black background
This is how a font and box color of #040fd1 hex color will look
on a black background.