In RGB color space, #040fd2 hex color has a red value of 4, a green value of 15 and a blue value of 210.
In CMYK color space (used in color printing), #040fd2 hex color is composed of 98.1% cyan, 92.86% magenta, 0% yellow and 17.65% black.
#040fd2 color has a hue of 236.8 degrees, a saturation of 96.26% and a lightness of 42%.
#040fd2 hex color contains mainly BLUE.
The closest web safe color of #040fd2 is #0000cc
#040fd2 hex color has a decimal value of 266194.
HEX | 040fd2 | #040fd2 |
---|---|---|
RGB | 4, 15, 210 | rgb(4, 15, 210) |
RGB Percent | 1.57, 5.88, 82.35 | rgb(1.57, 5.88, 82.35) |
CMYK | 98, 93, 0, 18 | |
HSL | 236.8°, 96.26, 42 | hsl(236.8, 96.26%, 42%) |
HSV | 236.8°, 98.1, 82.4 |
XYZ | 11.854, 5.021, 61.317 |
---|---|
Hunter Lab | 22.408, 55.216, -146.558 |
CIE-LAB | 26.795, 65.352, -91.376 |
CIE-LCH | 26.795, 112.341, 305.572 |
CIE-LUV | 98.1, 92.86, 0, 17.65 |
Web Safe | 0000cc |
RGB percent of color #040fd2
CMYK percent of color #040fd2
Text with hexadecimal color #040fd2
This text has a font color of #040fd2
<p style="color:#040fd2">Text here</p>
#040fd2 Background Color
This box has a background color of #040fd2
<div style="background-color:#040fd2">Text here</div>
#040fd2 Border Color
This box has a border color of #040fd2
<div style="border: 4px solid #040fd2">Text here</div>
CSS codes
<p style="color:#040fd2">Text here</p>
<div style="background-color:#040fd2">Text here</div>
<div style="border: 4px solid #040fd2">Text here</div>
#040fd2 Color on white background
This is how a font and box color of #040fd2 will look
on a white background.
#040fd2 Color on black background
This is how a font and box color of #040fd2 hex color will look
on a black background.