In RGB color space, #040ff5 hex color has a red value of 4, a green value of 15 and a blue value of 245.
In CMYK color space (used in color printing), #040ff5 hex color is composed of 98.37% cyan, 93.88% magenta, 0% yellow and 3.92% black.
#040ff5 color has a hue of 237.3 degrees, a saturation of 96.79% and a lightness of 48.8%.
#040ff5 hex color contains mainly BLUE.
The closest web safe color of #040ff5 is #0000ff
#040ff5 hex color has a decimal value of 266229.
HEX | 040ff5 | #040ff5 |
---|---|---|
RGB | 4, 15, 245 | rgb(4, 15, 245) |
RGB Percent | 1.57, 5.88, 96.08 | rgb(1.57, 5.88, 96.08) |
CMYK | 98, 94, 0, 4 | |
HSL | 237.3°, 96.79, 48.8 | hsl(237.3, 96.79%, 48.8%) |
HSV | 237.3°, 98.4, 96.1 |
XYZ | 16.702, 6.96, 86.849 |
---|---|
Hunter Lab | 26.382, 66.838, -176.716 |
CIE-LAB | 31.716, 74.386, -103.212 |
CIE-LCH | 31.716, 127.224, 305.781 |
CIE-LUV | 98.37, 93.88, 0, 3.92 |
Web Safe | 0000ff |
RGB percent of color #040ff5
CMYK percent of color #040ff5
Text with hexadecimal color #040ff5
This text has a font color of #040ff5
<p style="color:#040ff5">Text here</p>
#040ff5 Background Color
This box has a background color of #040ff5
<div style="background-color:#040ff5">Text here</div>
#040ff5 Border Color
This box has a border color of #040ff5
<div style="border: 4px solid #040ff5">Text here</div>
CSS codes
<p style="color:#040ff5">Text here</p>
<div style="background-color:#040ff5">Text here</div>
<div style="border: 4px solid #040ff5">Text here</div>
#040ff5 Color on white background
This is how a font and box color of #040ff5 will look
on a white background.
#040ff5 Color on black background
This is how a font and box color of #040ff5 hex color will look
on a black background.