In RGB color space, #040ef6 hex color has a red value of 4, a green value of 14 and a blue value of 246.
In CMYK color space (used in color printing), #040ef6 hex color is composed of 98.37% cyan, 94.31% magenta, 0% yellow and 3.53% black.
#040ef6 color has a hue of 237.5 degrees, a saturation of 96.8% and a lightness of 49%.
#040ef6 hex color contains mainly BLUE.
The closest web safe color of #040ef6 is #0000ff
#040ef6 hex color has a decimal value of 265974.
HEX | 040ef6 | #040ef6 |
---|---|---|
RGB | 4, 14, 246 | rgb(4, 14, 246) |
RGB Percent | 1.57, 5.49, 96.47 | rgb(1.57, 5.49, 96.47) |
CMYK | 98, 94, 0, 4 | |
HSL | 237.5°, 96.8, 49 | hsl(237.5, 96.8%, 49%) |
HSV | 237.5°, 98.4, 96.5 |
XYZ | 16.842, 6.994, 87.651 |
---|---|
Hunter Lab | 26.446, 67.395, -177.994 |
CIE-LAB | 31.793, 74.832, -103.648 |
CIE-LCH | 31.793, 127.839, 305.829 |
CIE-LUV | 98.37, 94.31, 0, 3.53 |
Web Safe | 0000ff |
RGB percent of color #040ef6
CMYK percent of color #040ef6
Text with hexadecimal color #040ef6
This text has a font color of #040ef6
<p style="color:#040ef6">Text here</p>
#040ef6 Background Color
This box has a background color of #040ef6
<div style="background-color:#040ef6">Text here</div>
#040ef6 Border Color
This box has a border color of #040ef6
<div style="border: 4px solid #040ef6">Text here</div>
CSS codes
<p style="color:#040ef6">Text here</p>
<div style="background-color:#040ef6">Text here</div>
<div style="border: 4px solid #040ef6">Text here</div>
#040ef6 Color on white background
This is how a font and box color of #040ef6 will look
on a white background.
#040ef6 Color on black background
This is how a font and box color of #040ef6 hex color will look
on a black background.