In RGB color space, #0400cc hex color has a red value of 4, a green value of 0 and a blue value of 204.
In CMYK color space (used in color printing), #0400cc hex color is composed of 98.04% cyan, 100% magenta, 0% yellow and 20% black.
#0400cc color has a hue of 241.2 degrees, a saturation of 100% and a lightness of 40%.
#0400cc hex color contains mainly BLUE.
The closest web safe color of #0400cc is #0000cc
#0400cc hex color has a decimal value of 262348.
HEX | 0400cc | #0400cc |
---|---|---|
RGB | 4, 0, 204 | rgb(4, 0, 204) |
RGB Percent | 1.57, 0, 80 | rgb(1.57, 0, 80) |
CMYK | 98, 100, 0, 20 | |
HSL | 241.2°, 100, 40 | hsl(241.2, 100%, 40%) |
HSV | 241.2°, 100, 80 |
XYZ | 10.949, 4.385, 57.396 |
---|---|
Hunter Lab | 20.94, 56.686, -147.851 |
CIE-LAB | 24.905, 66.968, -91.035 |
CIE-LCH | 24.905, 113.014, 306.339 |
CIE-LUV | 98.04, 100, 0, 20 |
Web Safe | 0000cc |
RGB percent of color #0400cc
CMYK percent of color #0400cc
Text with hexadecimal color #0400cc
This text has a font color of #0400cc
<p style="color:#0400cc">Text here</p>
#0400cc Background Color
This box has a background color of #0400cc
<div style="background-color:#0400cc">Text here</div>
#0400cc Border Color
This box has a border color of #0400cc
<div style="border: 4px solid #0400cc">Text here</div>
CSS codes
<p style="color:#0400cc">Text here</p>
<div style="background-color:#0400cc">Text here</div>
<div style="border: 4px solid #0400cc">Text here</div>
#0400cc Color on white background
This is how a font and box color of #0400cc will look
on a white background.
#0400cc Color on black background
This is how a font and box color of #0400cc hex color will look
on a black background.