In RGB color space, #0400ff hex color has a red value of 4, a green value of 0 and a blue value of 255.
In CMYK color space (used in color printing), #0400ff hex color is composed of 98.43% cyan, 100% magenta, 0% yellow and 0% black.
#0400ff color has a hue of 240.9 degrees, a saturation of 100% and a lightness of 50%.
#0400ff hex color contains mainly BLUE.
The closest web safe color of #0400ff is #0000ff
#0400ff hex color has a decimal value of 262399.
HEX | 0400ff | #0400ff |
---|---|---|
RGB | 4, 0, 255 | rgb(4, 0, 255) |
RGB Percent | 1.57, 0, 100 | rgb(1.57, 0, 100) |
CMYK | 98, 100, 0, 0 | |
HSL | 240.9°, 100, 50 | hsl(240.9, 100%, 50%) |
HSV | 240.9°, 100, 100 |
XYZ | 18.1, 7.246, 95.052 |
---|---|
Hunter Lab | 26.918, 72.917, -190.517 |
CIE-LAB | 32.36, 79.212, -107.765 |
CIE-LCH | 32.36, 133.745, 306.318 |
CIE-LUV | 98.43, 100, 0, 0 |
Web Safe | 0000ff |
RGB percent of color #0400ff
CMYK percent of color #0400ff
Text with hexadecimal color #0400ff
This text has a font color of #0400ff
<p style="color:#0400ff">Text here</p>
#0400ff Background Color
This box has a background color of #0400ff
<div style="background-color:#0400ff">Text here</div>
#0400ff Border Color
This box has a border color of #0400ff
<div style="border: 4px solid #0400ff">Text here</div>
CSS codes
<p style="color:#0400ff">Text here</p>
<div style="background-color:#0400ff">Text here</div>
<div style="border: 4px solid #0400ff">Text here</div>
#0400ff Color on white background
This is how a font and box color of #0400ff will look
on a white background.
#0400ff Color on black background
This is how a font and box color of #0400ff hex color will look
on a black background.