In RGB color space, #040dfa hex color has a red value of 4, a green value of 13 and a blue value of 250.
In CMYK color space (used in color printing), #040dfa hex color is composed of 98.4% cyan, 94.8% magenta, 0% yellow and 1.96% black.
#040dfa color has a hue of 237.8 degrees, a saturation of 96.85% and a lightness of 49.8%.
#040dfa hex color contains mainly BLUE.
The closest web safe color of #040dfa is #0000ff
#040dfa hex color has a decimal value of 265722.
HEX | 040dfa | #040dfa |
---|---|---|
RGB | 4, 13, 250 | rgb(4, 13, 250) |
RGB Percent | 1.57, 5.1, 98.04 | rgb(1.57, 5.1, 98.04) |
CMYK | 98, 95, 0, 2 | |
HSL | 237.8°, 96.85, 49.8 | hsl(237.8, 96.85%, 49.8%) |
HSV | 237.8°, 98.4, 98 |
XYZ | 17.449, 7.216, 90.916 |
---|---|
Hunter Lab | 26.863, 68.938, -181.862 |
CIE-LAB | 32.294, 76.009, -105.067 |
CIE-LCH | 32.294, 129.678, 305.883 |
CIE-LUV | 98.4, 94.8, 0, 1.96 |
Web Safe | 0000ff |
RGB percent of color #040dfa
CMYK percent of color #040dfa
Text with hexadecimal color #040dfa
This text has a font color of #040dfa
<p style="color:#040dfa">Text here</p>
#040dfa Background Color
This box has a background color of #040dfa
<div style="background-color:#040dfa">Text here</div>
#040dfa Border Color
This box has a border color of #040dfa
<div style="border: 4px solid #040dfa">Text here</div>
CSS codes
<p style="color:#040dfa">Text here</p>
<div style="background-color:#040dfa">Text here</div>
<div style="border: 4px solid #040dfa">Text here</div>
#040dfa Color on white background
This is how a font and box color of #040dfa will look
on a white background.
#040dfa Color on black background
This is how a font and box color of #040dfa hex color will look
on a black background.