In RGB color space, #040040 hex color has a red value of 4, a green value of 0 and a blue value of 64.
In CMYK color space (used in color printing), #040040 hex color is composed of 93.75% cyan, 100% magenta, 0% yellow and 74.9% black.
#040040 color has a hue of 243.8 degrees, a saturation of 100% and a lightness of 12.5%.
#040040 hex color contains mainly BLUE.
The closest web safe color of #040040 is #000033
#040040 hex color has a decimal value of 262208.
HEX | 040040 | #040040 |
---|---|---|
RGB | 4, 0, 64 | rgb(4, 0, 64) |
RGB Percent | 1.57, 0, 25.1 | rgb(1.57, 0, 25.1) |
CMYK | 94, 100, 0, 75 | |
HSL | 243.8°, 100, 12.5 | hsl(243.8, 100%, 12.5%) |
HSV | 243.8°, 100, 25.1 |
XYZ | 0.975, 0.396, 4.876 |
---|---|
Hunter Lab | 6.293, 16.644, -41.536 |
CIE-LAB | 3.577, 24.257, -37.269 |
CIE-LCH | 3.577, 44.468, 303.059 |
CIE-LUV | 93.75, 100, 0, 74.9 |
Web Safe | 000033 |
RGB percent of color #040040
CMYK percent of color #040040
Text with hexadecimal color #040040
This text has a font color of #040040
<p style="color:#040040">Text here</p>
#040040 Background Color
This box has a background color of #040040
<div style="background-color:#040040">Text here</div>
#040040 Border Color
This box has a border color of #040040
<div style="border: 4px solid #040040">Text here</div>
CSS codes
<p style="color:#040040">Text here</p>
<div style="background-color:#040040">Text here</div>
<div style="border: 4px solid #040040">Text here</div>
#040040 Color on white background
This is how a font and box color of #040040 will look
on a white background.
#040040 Color on black background
This is how a font and box color of #040040 hex color will look
on a black background.