In RGB color space, #0400cd hex color has a red value of 4, a green value of 0 and a blue value of 205.
In CMYK color space (used in color printing), #0400cd hex color is composed of 98.05% cyan, 100% magenta, 0% yellow and 19.61% black.
#0400cd color has a hue of 241.2 degrees, a saturation of 100% and a lightness of 40.2%.
#0400cd hex color contains mainly BLUE.
The closest web safe color of #0400cd is #0000cc
#0400cd hex color has a decimal value of 262349.
HEX | 0400cd | #0400cd |
---|---|---|
RGB | 4, 0, 205 | rgb(4, 0, 205) |
RGB Percent | 1.57, 0, 80.39 | rgb(1.57, 0, 80.39) |
CMYK | 98, 100, 0, 20 | |
HSL | 241.2°, 100, 40.2 | hsl(241.2, 100%, 40.2%) |
HSV | 241.2°, 100, 80.4 |
XYZ | 11.07, 4.434, 58.03 |
---|---|
Hunter Lab | 21.057, 56.99, -148.654 |
CIE-LAB | 25.057, 67.207, -91.366 |
CIE-LCH | 25.057, 113.422, 306.337 |
CIE-LUV | 98.05, 100, 0, 19.61 |
Web Safe | 0000cc |
RGB percent of color #0400cd
CMYK percent of color #0400cd
Text with hexadecimal color #0400cd
This text has a font color of #0400cd
<p style="color:#0400cd">Text here</p>
#0400cd Background Color
This box has a background color of #0400cd
<div style="background-color:#0400cd">Text here</div>
#0400cd Border Color
This box has a border color of #0400cd
<div style="border: 4px solid #0400cd">Text here</div>
CSS codes
<p style="color:#0400cd">Text here</p>
<div style="background-color:#0400cd">Text here</div>
<div style="border: 4px solid #0400cd">Text here</div>
#0400cd Color on white background
This is how a font and box color of #0400cd will look
on a white background.
#0400cd Color on black background
This is how a font and box color of #0400cd hex color will look
on a black background.