In RGB color space, #040228 hex color has a red value of 4, a green value of 2 and a blue value of 40.
In CMYK color space (used in color printing), #040228 hex color is composed of 90% cyan, 95% magenta, 0% yellow and 84.31% black.
#040228 color has a hue of 243.2 degrees, a saturation of 90.48% and a lightness of 8.2%.
#040228 hex color contains mainly BLUE.
The closest web safe color of #040228 is #000033
#040228 hex color has a decimal value of 262696.
HEX | 040228 | #040228 |
---|---|---|
RGB | 4, 2, 40 | rgb(4, 2, 40) |
RGB Percent | 1.57, 0.78, 15.69 | rgb(1.57, 0.78, 15.69) |
CMYK | 90, 95, 0, 84 | |
HSL | 243.2°, 90.48, 8.2 | hsl(243.2, 90.48%, 8.2%) |
HSV | 243.2°, 95, 15.7 |
XYZ | 0.455, 0.222, 2.026 |
---|---|
Hunter Lab | 4.712, 8.992, -22.196 |
CIE-LAB | 2.005, 9.995, -21.954 |
CIE-LCH | 2.005, 24.122, 294.478 |
CIE-LUV | 90, 95, 0, 84.31 |
Web Safe | 000033 |
RGB percent of color #040228
CMYK percent of color #040228
Text with hexadecimal color #040228
This text has a font color of #040228
<p style="color:#040228">Text here</p>
#040228 Background Color
This box has a background color of #040228
<div style="background-color:#040228">Text here</div>
#040228 Border Color
This box has a border color of #040228
<div style="border: 4px solid #040228">Text here</div>
CSS codes
<p style="color:#040228">Text here</p>
<div style="background-color:#040228">Text here</div>
<div style="border: 4px solid #040228">Text here</div>
#040228 Color on white background
This is how a font and box color of #040228 will look
on a white background.
#040228 Color on black background
This is how a font and box color of #040228 hex color will look
on a black background.