In RGB color space, #021228 hex color has a red value of 2, a green value of 18 and a blue value of 40.
In CMYK color space (used in color printing), #021228 hex color is composed of 95% cyan, 55% magenta, 0% yellow and 84.31% black.
#021228 color has a hue of 214.7 degrees, a saturation of 90.48% and a lightness of 8.2%.
#021228 hex color contains mainly BLUE.
The closest web safe color of #021228 is #000033
#021228 hex color has a decimal value of 135720.
HEX | 021228 | #021228 |
---|---|---|
RGB | 2, 18, 40 | rgb(2, 18, 40) |
RGB Percent | 0.78, 7.06, 15.69 | rgb(0.78, 7.06, 15.69) |
CMYK | 95, 55, 0, 84 | |
HSL | 214.7°, 90.48, 8.2 | hsl(214.7, 90.48%, 8.2%) |
HSV | 214.7°, 95, 15.7 |
XYZ | 0.624, 0.599, 2.09 |
---|---|
Hunter Lab | 7.74, 0.847, -10.593 |
CIE-LAB | 5.411, 2.239, -16.635 |
CIE-LCH | 5.411, 16.785, 277.666 |
CIE-LUV | 95, 55, 0, 84.31 |
Web Safe | 000033 |
RGB percent of color #021228
CMYK percent of color #021228
Text with hexadecimal color #021228
This text has a font color of #021228
<p style="color:#021228">Text here</p>
#021228 Background Color
This box has a background color of #021228
<div style="background-color:#021228">Text here</div>
#021228 Border Color
This box has a border color of #021228
<div style="border: 4px solid #021228">Text here</div>
CSS codes
<p style="color:#021228">Text here</p>
<div style="background-color:#021228">Text here</div>
<div style="border: 4px solid #021228">Text here</div>
#021228 Color on white background
This is how a font and box color of #021228 will look
on a white background.
#021228 Color on black background
This is how a font and box color of #021228 hex color will look
on a black background.