In RGB color space, #040256 hex color has a red value of 4, a green value of 2 and a blue value of 86.
In CMYK color space (used in color printing), #040256 hex color is composed of 95.35% cyan, 97.67% magenta, 0% yellow and 66.27% black.
#040256 color has a hue of 241.4 degrees, a saturation of 95.45% and a lightness of 17.3%.
#040256 hex color contains mainly BLUE.
The closest web safe color of #040256 is #000066
#040256 hex color has a decimal value of 262742.
HEX | 040256 | #040256 |
---|---|---|
RGB | 4, 2, 86 | rgb(4, 2, 86) |
RGB Percent | 1.57, 0.78, 33.73 | rgb(1.57, 0.78, 33.73) |
CMYK | 95, 98, 0, 66 | |
HSL | 241.4°, 95.45, 17.3 | hsl(241.4, 95.45%, 17.3%) |
HSV | 241.4°, 97.7, 33.7 |
XYZ | 1.751, 0.741, 8.855 |
---|---|
Hunter Lab | 8.608, 21.245, -54.965 |
CIE-LAB | 6.693, 34.238, -47.524 |
CIE-LCH | 6.693, 58.573, 305.77 |
CIE-LUV | 95.35, 97.67, 0, 66.27 |
Web Safe | 000066 |
RGB percent of color #040256
CMYK percent of color #040256
Text with hexadecimal color #040256
This text has a font color of #040256
<p style="color:#040256">Text here</p>
#040256 Background Color
This box has a background color of #040256
<div style="background-color:#040256">Text here</div>
#040256 Border Color
This box has a border color of #040256
<div style="border: 4px solid #040256">Text here</div>
CSS codes
<p style="color:#040256">Text here</p>
<div style="background-color:#040256">Text here</div>
<div style="border: 4px solid #040256">Text here</div>
#040256 Color on white background
This is how a font and box color of #040256 will look
on a white background.
#040256 Color on black background
This is how a font and box color of #040256 hex color will look
on a black background.