In RGB color space, #0400d2 hex color has a red value of 4, a green value of 0 and a blue value of 210.
In CMYK color space (used in color printing), #0400d2 hex color is composed of 98.1% cyan, 100% magenta, 0% yellow and 17.65% black.
#0400d2 color has a hue of 241.1 degrees, a saturation of 100% and a lightness of 41.2%.
#0400d2 hex color contains mainly BLUE.
The closest web safe color of #0400d2 is #0000cc
#0400d2 hex color has a decimal value of 262354.
HEX | 0400d2 | #0400d2 |
---|---|---|
RGB | 4, 0, 210 | rgb(4, 0, 210) |
RGB Percent | 1.57, 0, 82.35 | rgb(1.57, 0, 82.35) |
CMYK | 98, 100, 0, 18 | |
HSL | 241.1°, 100, 41.2 | hsl(241.1, 100%, 41.2%) |
HSV | 241.1°, 100, 82.4 |
XYZ | 11.683, 4.679, 61.26 |
---|---|
Hunter Lab | 21.631, 58.554, -152.77 |
CIE-LAB | 25.8, 68.432, -93.039 |
CIE-LCH | 25.8, 115.495, 306.335 |
CIE-LUV | 98.1, 100, 0, 17.65 |
Web Safe | 0000cc |
RGB percent of color #0400d2
CMYK percent of color #0400d2
Text with hexadecimal color #0400d2
This text has a font color of #0400d2
<p style="color:#0400d2">Text here</p>
#0400d2 Background Color
This box has a background color of #0400d2
<div style="background-color:#0400d2">Text here</div>
#0400d2 Border Color
This box has a border color of #0400d2
<div style="border: 4px solid #0400d2">Text here</div>
CSS codes
<p style="color:#0400d2">Text here</p>
<div style="background-color:#0400d2">Text here</div>
<div style="border: 4px solid #0400d2">Text here</div>
#0400d2 Color on white background
This is how a font and box color of #0400d2 will look
on a white background.
#0400d2 Color on black background
This is how a font and box color of #0400d2 hex color will look
on a black background.