In RGB color space, #040ccb hex color has a red value of 4, a green value of 12 and a blue value of 203.
In CMYK color space (used in color printing), #040ccb hex color is composed of 98.03% cyan, 94.09% magenta, 0% yellow and 20.39% black.
#040ccb color has a hue of 237.6 degrees, a saturation of 96.14% and a lightness of 40.6%.
#040ccb hex color contains mainly BLUE.
The closest web safe color of #040ccb is #0000cc
#040ccb hex color has a decimal value of 265419.
HEX | 040ccb | #040ccb |
---|---|---|
RGB | 4, 12, 203 | rgb(4, 12, 203) |
RGB Percent | 1.57, 4.71, 79.61 | rgb(1.57, 4.71, 79.61) |
CMYK | 98, 94, 0, 20 | |
HSL | 237.6°, 96.14, 40.6 | hsl(237.6, 96.14%, 40.6%) |
HSV | 237.6°, 98, 79.6 |
XYZ | 10.961, 4.601, 56.81 |
---|---|
Hunter Lab | 21.45, 53.677, -142.014 |
CIE-LAB | 25.566, 64.208, -89.343 |
CIE-LCH | 25.566, 110.022, 305.704 |
CIE-LUV | 98.03, 94.09, 0, 20.39 |
Web Safe | 0000cc |
RGB percent of color #040ccb
CMYK percent of color #040ccb
Text with hexadecimal color #040ccb
This text has a font color of #040ccb
<p style="color:#040ccb">Text here</p>
#040ccb Background Color
This box has a background color of #040ccb
<div style="background-color:#040ccb">Text here</div>
#040ccb Border Color
This box has a border color of #040ccb
<div style="border: 4px solid #040ccb">Text here</div>
CSS codes
<p style="color:#040ccb">Text here</p>
<div style="background-color:#040ccb">Text here</div>
<div style="border: 4px solid #040ccb">Text here</div>
#040ccb Color on white background
This is how a font and box color of #040ccb will look
on a white background.
#040ccb Color on black background
This is how a font and box color of #040ccb hex color will look
on a black background.