In RGB color space, #040cc4 hex color has a red value of 4, a green value of 12 and a blue value of 196.
In CMYK color space (used in color printing), #040cc4 hex color is composed of 97.96% cyan, 93.88% magenta, 0% yellow and 23.14% black.
#040cc4 color has a hue of 237.5 degrees, a saturation of 96% and a lightness of 39.2%.
#040cc4 hex color contains mainly BLUE.
The closest web safe color of #040cc4 is #0000cc
#040cc4 hex color has a decimal value of 265412.
HEX | 040cc4 | #040cc4 |
---|---|---|
RGB | 4, 12, 196 | rgb(4, 12, 196) |
RGB Percent | 1.57, 4.71, 76.86 | rgb(1.57, 4.71, 76.86) |
CMYK | 98, 94, 0, 23 | |
HSL | 237.5°, 96, 39.2 | hsl(237.5, 96%, 39.2%) |
HSV | 237.5°, 98, 76.9 |
XYZ | 10.145, 4.274, 52.515 |
---|---|
Hunter Lab | 20.674, 51.415, -136.136 |
CIE-LAB | 24.557, 62.362, -86.919 |
CIE-LCH | 24.557, 106.976, 305.658 |
CIE-LUV | 97.96, 93.88, 0, 23.14 |
Web Safe | 0000cc |
RGB percent of color #040cc4
CMYK percent of color #040cc4
Text with hexadecimal color #040cc4
This text has a font color of #040cc4
<p style="color:#040cc4">Text here</p>
#040cc4 Background Color
This box has a background color of #040cc4
<div style="background-color:#040cc4">Text here</div>
#040cc4 Border Color
This box has a border color of #040cc4
<div style="border: 4px solid #040cc4">Text here</div>
CSS codes
<p style="color:#040cc4">Text here</p>
<div style="background-color:#040cc4">Text here</div>
<div style="border: 4px solid #040cc4">Text here</div>
#040cc4 Color on white background
This is how a font and box color of #040cc4 will look
on a white background.
#040cc4 Color on black background
This is how a font and box color of #040cc4 hex color will look
on a black background.