In RGB color space, #040cf4 hex color has a red value of 4, a green value of 12 and a blue value of 244.
In CMYK color space (used in color printing), #040cf4 hex color is composed of 98.36% cyan, 95.08% magenta, 0% yellow and 4.31% black.
#040cf4 color has a hue of 238 degrees, a saturation of 96.77% and a lightness of 48.6%.
#040cf4 hex color contains mainly BLUE.
The closest web safe color of #040cf4 is #0000ff
#040cf4 hex color has a decimal value of 265460.
HEX | 040cf4 | #040cf4 |
---|---|---|
RGB | 4, 12, 244 | rgb(4, 12, 244) |
RGB Percent | 1.57, 4.71, 95.69 | rgb(1.57, 4.71, 95.69) |
CMYK | 98, 95, 0, 4 | |
HSL | 238°, 96.77, 48.6 | hsl(238, 96.77%, 48.6%) |
HSV | 238°, 98.4, 95.7 |
XYZ | 16.511, 6.82, 86.034 |
---|---|
Hunter Lab | 26.115, 67.153, -177.045 |
CIE-LAB | 31.394, 74.703, -103.185 |
CIE-LCH | 31.394, 127.388, 305.903 |
CIE-LUV | 98.36, 95.08, 0, 4.31 |
Web Safe | 0000ff |
RGB percent of color #040cf4
CMYK percent of color #040cf4
Text with hexadecimal color #040cf4
This text has a font color of #040cf4
<p style="color:#040cf4">Text here</p>
#040cf4 Background Color
This box has a background color of #040cf4
<div style="background-color:#040cf4">Text here</div>
#040cf4 Border Color
This box has a border color of #040cf4
<div style="border: 4px solid #040cf4">Text here</div>
CSS codes
<p style="color:#040cf4">Text here</p>
<div style="background-color:#040cf4">Text here</div>
<div style="border: 4px solid #040cf4">Text here</div>
#040cf4 Color on white background
This is how a font and box color of #040cf4 will look
on a white background.
#040cf4 Color on black background
This is how a font and box color of #040cf4 hex color will look
on a black background.