In RGB color space, #312142 hex color has a red value of 49, a green value of 33 and a blue value of 66.
In CMYK color space (used in color printing), #312142 hex color is composed of 25.76% cyan, 50% magenta, 0% yellow and 74.12% black.
#312142 color has a hue of 269.1 degrees, a saturation of 33.33% and a lightness of 19.4%.
#312142 hex color contains mainly BLUE.
The closest web safe color of #312142 is #333333
#312142 hex color has a decimal value of 3219778.
HEX | 312142 | #312142 |
---|---|---|
RGB | 49, 33, 66 | rgb(49, 33, 66) |
RGB Percent | 19.22, 12.94, 25.88 | rgb(19.22, 12.94, 25.88) |
CMYK | 26, 50, 0, 74 | |
HSL | 269.1°, 33.33, 19.4 | hsl(269.1, 33.33%, 19.4%) |
HSV | 269.1°, 50, 25.9 |
XYZ | 2.794, 2.134, 5.419 |
---|---|
Hunter Lab | 14.608, 8.576, -11.768 |
CIE-LAB | 16.175, 15.625, -18.092 |
CIE-LCH | 16.175, 23.905, 310.815 |
CIE-LUV | 25.76, 50, 0, 74.12 |
Web Safe | 333333 |
RGB percent of color #312142
CMYK percent of color #312142
Text with hexadecimal color #312142
This text has a font color of #312142
<p style="color:#312142">Text here</p>
#312142 Background Color
This box has a background color of #312142
<div style="background-color:#312142">Text here</div>
#312142 Border Color
This box has a border color of #312142
<div style="border: 4px solid #312142">Text here</div>
CSS codes
<p style="color:#312142">Text here</p>
<div style="background-color:#312142">Text here</div>
<div style="border: 4px solid #312142">Text here</div>
#312142 Color on white background
This is how a font and box color of #312142 will look
on a white background.
#312142 Color on black background
This is how a font and box color of #312142 hex color will look
on a black background.