In RGB color space, #0400f2 hex color has a red value of 4, a green value of 0 and a blue value of 242.
In CMYK color space (used in color printing), #0400f2 hex color is composed of 98.35% cyan, 100% magenta, 0% yellow and 5.1% black.
#0400f2 color has a hue of 241 degrees, a saturation of 100% and a lightness of 47.5%.
#0400f2 hex color contains mainly BLUE.
The closest web safe color of #0400f2 is #0000ff
#0400f2 hex color has a decimal value of 262386.
HEX | 0400f2 | #0400f2 |
---|---|---|
RGB | 4, 0, 242 | rgb(4, 0, 242) |
RGB Percent | 1.57, 0, 94.9 | rgb(1.57, 0, 94.9) |
CMYK | 98, 100, 0, 5 | |
HSL | 241°, 100, 47.5 | hsl(241, 100%, 47.5%) |
HSV | 241°, 100, 94.9 |
XYZ | 16.077, 6.437, 84.399 |
---|---|
Hunter Lab | 25.371, 68.71, -179.472 |
CIE-LAB | 30.489, 76.135, -103.566 |
CIE-LCH | 30.489, 128.54, 306.321 |
CIE-LUV | 98.35, 100, 0, 5.1 |
Web Safe | 0000ff |
RGB percent of color #0400f2
CMYK percent of color #0400f2
Text with hexadecimal color #0400f2
This text has a font color of #0400f2
<p style="color:#0400f2">Text here</p>
#0400f2 Background Color
This box has a background color of #0400f2
<div style="background-color:#0400f2">Text here</div>
#0400f2 Border Color
This box has a border color of #0400f2
<div style="border: 4px solid #0400f2">Text here</div>
CSS codes
<p style="color:#0400f2">Text here</p>
<div style="background-color:#0400f2">Text here</div>
<div style="border: 4px solid #0400f2">Text here</div>
#0400f2 Color on white background
This is how a font and box color of #0400f2 will look
on a white background.
#0400f2 Color on black background
This is how a font and box color of #0400f2 hex color will look
on a black background.