In RGB color space, #212042 hex color has a red value of 33, a green value of 32 and a blue value of 66.
In CMYK color space (used in color printing), #212042 hex color is composed of 50% cyan, 51.52% magenta, 0% yellow and 74.12% black.
#212042 color has a hue of 241.8 degrees, a saturation of 34.69% and a lightness of 19.2%.
#212042 hex color contains mainly BLUE.
The closest web safe color of #212042 is #333333
#212042 hex color has a decimal value of 2170946.
HEX | 212042 | #212042 |
---|---|---|
RGB | 33, 32, 66 | rgb(33, 32, 66) |
RGB Percent | 12.94, 12.55, 25.88 | rgb(12.94, 12.55, 25.88) |
CMYK | 50, 52, 0, 74 | |
HSL | 241.8°, 34.69, 19.2 | hsl(241.8, 34.69%, 19.2%) |
HSV | 241.8°, 51.5, 25.9 |
XYZ | 2.127, 1.75, 5.38 |
---|---|
Hunter Lab | 13.229, 5.55, -14.853 |
CIE-LAB | 14.116, 11.088, -21.465 |
CIE-LCH | 14.116, 24.16, 297.319 |
CIE-LUV | 50, 51.52, 0, 74.12 |
Web Safe | 333333 |
RGB percent of color #212042
CMYK percent of color #212042
Text with hexadecimal color #212042
This text has a font color of #212042
<p style="color:#212042">Text here</p>
#212042 Background Color
This box has a background color of #212042
<div style="background-color:#212042">Text here</div>
#212042 Border Color
This box has a border color of #212042
<div style="border: 4px solid #212042">Text here</div>
CSS codes
<p style="color:#212042">Text here</p>
<div style="background-color:#212042">Text here</div>
<div style="border: 4px solid #212042">Text here</div>
#212042 Color on white background
This is how a font and box color of #212042 will look
on a white background.
#212042 Color on black background
This is how a font and box color of #212042 hex color will look
on a black background.