In RGB color space, #040ccc hex color has a red value of 4, a green value of 12 and a blue value of 204.
In CMYK color space (used in color printing), #040ccc hex color is composed of 98.04% cyan, 94.12% magenta, 0% yellow and 20% black.
#040ccc color has a hue of 237.6 degrees, a saturation of 96.15% and a lightness of 40.8%.
#040ccc hex color contains mainly BLUE.
The closest web safe color of #040ccc is #0000cc
#040ccc hex color has a decimal value of 265420.
HEX | 040ccc | #040ccc |
---|---|---|
RGB | 4, 12, 204 | rgb(4, 12, 204) |
RGB Percent | 1.57, 4.71, 80 | rgb(1.57, 4.71, 80) |
CMYK | 98, 94, 0, 20 | |
HSL | 237.6°, 96.15, 40.8 | hsl(237.6, 96.15%, 40.8%) |
HSV | 237.6°, 98, 80 |
XYZ | 11.081, 4.648, 57.44 |
---|---|
Hunter Lab | 21.559, 54.017, -142.874 |
CIE-LAB | 25.707, 64.485, -89.693 |
CIE-LCH | 25.707, 110.468, 305.714 |
CIE-LUV | 98.04, 94.12, 0, 20 |
Web Safe | 0000cc |
RGB percent of color #040ccc
CMYK percent of color #040ccc
Text with hexadecimal color #040ccc
This text has a font color of #040ccc
<p style="color:#040ccc">Text here</p>
#040ccc Background Color
This box has a background color of #040ccc
<div style="background-color:#040ccc">Text here</div>
#040ccc Border Color
This box has a border color of #040ccc
<div style="border: 4px solid #040ccc">Text here</div>
CSS codes
<p style="color:#040ccc">Text here</p>
<div style="background-color:#040ccc">Text here</div>
<div style="border: 4px solid #040ccc">Text here</div>
#040ccc Color on white background
This is how a font and box color of #040ccc will look
on a white background.
#040ccc Color on black background
This is how a font and box color of #040ccc hex color will look
on a black background.