In RGB color space, #040fd5 hex color has a red value of 4, a green value of 15 and a blue value of 213.
In CMYK color space (used in color printing), #040fd5 hex color is composed of 98.12% cyan, 92.96% magenta, 0% yellow and 16.47% black.
#040fd5 color has a hue of 236.8 degrees, a saturation of 96.31% and a lightness of 42.5%.
#040fd5 hex color contains mainly BLUE.
The closest web safe color of #040fd5 is #0000cc
#040fd5 hex color has a decimal value of 266197.
HEX | 040fd5 | #040fd5 |
---|---|---|
RGB | 4, 15, 213 | rgb(4, 15, 213) |
RGB Percent | 1.57, 5.88, 83.53 | rgb(1.57, 5.88, 83.53) |
CMYK | 98, 93, 0, 16 | |
HSL | 236.8°, 96.31, 42.5 | hsl(236.8, 96.31%, 42.5%) |
HSV | 236.8°, 98.1, 83.5 |
XYZ | 12.231, 5.172, 63.304 |
---|---|
Hunter Lab | 22.742, 56.201, -149.118 |
CIE-LAB | 27.219, 66.142, -92.409 |
CIE-LCH | 27.219, 113.641, 305.593 |
CIE-LUV | 98.12, 92.96, 0, 16.47 |
Web Safe | 0000cc |
RGB percent of color #040fd5
CMYK percent of color #040fd5
Text with hexadecimal color #040fd5
This text has a font color of #040fd5
<p style="color:#040fd5">Text here</p>
#040fd5 Background Color
This box has a background color of #040fd5
<div style="background-color:#040fd5">Text here</div>
#040fd5 Border Color
This box has a border color of #040fd5
<div style="border: 4px solid #040fd5">Text here</div>
CSS codes
<p style="color:#040fd5">Text here</p>
<div style="background-color:#040fd5">Text here</div>
<div style="border: 4px solid #040fd5">Text here</div>
#040fd5 Color on white background
This is how a font and box color of #040fd5 will look
on a white background.
#040fd5 Color on black background
This is how a font and box color of #040fd5 hex color will look
on a black background.