In RGB color space, #0400cb hex color has a red value of 4, a green value of 0 and a blue value of 203.
In CMYK color space (used in color printing), #0400cb hex color is composed of 98.03% cyan, 100% magenta, 0% yellow and 20.39% black.
#0400cb color has a hue of 241.2 degrees, a saturation of 100% and a lightness of 39.8%.
#0400cb hex color contains mainly BLUE.
The closest web safe color of #0400cb is #0000cc
#0400cb hex color has a decimal value of 262347.
HEX | 0400cb | #0400cb |
---|---|---|
RGB | 4, 0, 203 | rgb(4, 0, 203) |
RGB Percent | 1.57, 0, 79.61 | rgb(1.57, 0, 79.61) |
CMYK | 98, 100, 0, 20 | |
HSL | 241.2°, 100, 39.8 | hsl(241.2, 100%, 39.8%) |
HSV | 241.2°, 100, 79.6 |
XYZ | 10.83, 4.338, 56.766 |
---|---|
Hunter Lab | 20.828, 56.367, -147.014 |
CIE-LAB | 24.759, 66.716, -90.694 |
CIE-LCH | 24.759, 112.59, 306.339 |
CIE-LUV | 98.03, 100, 0, 20.39 |
Web Safe | 0000cc |
RGB percent of color #0400cb
CMYK percent of color #0400cb
Text with hexadecimal color #0400cb
This text has a font color of #0400cb
<p style="color:#0400cb">Text here</p>
#0400cb Background Color
This box has a background color of #0400cb
<div style="background-color:#0400cb">Text here</div>
#0400cb Border Color
This box has a border color of #0400cb
<div style="border: 4px solid #0400cb">Text here</div>
CSS codes
<p style="color:#0400cb">Text here</p>
<div style="background-color:#0400cb">Text here</div>
<div style="border: 4px solid #0400cb">Text here</div>
#0400cb Color on white background
This is how a font and box color of #0400cb will look
on a white background.
#0400cb Color on black background
This is how a font and box color of #0400cb hex color will look
on a black background.