In RGB color space, #0400c4 hex color has a red value of 4, a green value of 0 and a blue value of 196.
In CMYK color space (used in color printing), #0400c4 hex color is composed of 97.96% cyan, 100% magenta, 0% yellow and 23.14% black.
#0400c4 color has a hue of 241.2 degrees, a saturation of 100% and a lightness of 38.4%.
#0400c4 hex color contains mainly BLUE.
The closest web safe color of #0400c4 is #0000cc
#0400c4 hex color has a decimal value of 262340.
HEX | 0400c4 | #0400c4 |
---|---|---|
RGB | 4, 0, 196 | rgb(4, 0, 196) |
RGB Percent | 1.57, 0, 76.86 | rgb(1.57, 0, 76.86) |
CMYK | 98, 100, 0, 23 | |
HSL | 241.2°, 100, 38.4 | hsl(241.2, 100%, 38.4%) |
HSV | 241.2°, 100, 76.9 |
XYZ | 10.014, 4.011, 52.471 |
---|---|
Hunter Lab | 20.027, 54.204, -141.318 |
CIE-LAB | 23.708, 64.999, -88.34 |
CIE-LCH | 23.708, 109.676, 306.345 |
CIE-LUV | 97.96, 100, 0, 23.14 |
Web Safe | 0000cc |
RGB percent of color #0400c4
CMYK percent of color #0400c4
Text with hexadecimal color #0400c4
This text has a font color of #0400c4
<p style="color:#0400c4">Text here</p>
#0400c4 Background Color
This box has a background color of #0400c4
<div style="background-color:#0400c4">Text here</div>
#0400c4 Border Color
This box has a border color of #0400c4
<div style="border: 4px solid #0400c4">Text here</div>
CSS codes
<p style="color:#0400c4">Text here</p>
<div style="background-color:#0400c4">Text here</div>
<div style="border: 4px solid #0400c4">Text here</div>
#0400c4 Color on white background
This is how a font and box color of #0400c4 will look
on a white background.
#0400c4 Color on black background
This is how a font and box color of #0400c4 hex color will look
on a black background.