In RGB color space, #312842 hex color has a red value of 49, a green value of 40 and a blue value of 66.
In CMYK color space (used in color printing), #312842 hex color is composed of 25.76% cyan, 39.39% magenta, 0% yellow and 74.12% black.
#312842 color has a hue of 260.8 degrees, a saturation of 24.53% and a lightness of 20.8%.
#312842 hex color contains mainly BLUE.
The closest web safe color of #312842 is #333333
#312842 hex color has a decimal value of 3221570.
HEX | 312842 | #312842 |
---|---|---|
RGB | 49, 40, 66 | rgb(49, 40, 66) |
RGB Percent | 19.22, 15.69, 25.88 | rgb(19.22, 15.69, 25.88) |
CMYK | 26, 39, 0, 74 | |
HSL | 260.8°, 24.53, 20.8 | hsl(260.8, 24.53%, 20.8%) |
HSV | 260.8°, 39.4, 25.9 |
XYZ | 3.009, 2.564, 5.491 |
---|---|
Hunter Lab | 16.012, 5.521, -9.123 |
CIE-LAB | 18.206, 10.735, -14.916 |
CIE-LCH | 18.206, 18.377, 305.742 |
CIE-LUV | 25.76, 39.39, 0, 74.12 |
Web Safe | 333333 |
RGB percent of color #312842
CMYK percent of color #312842
Text with hexadecimal color #312842
This text has a font color of #312842
<p style="color:#312842">Text here</p>
#312842 Background Color
This box has a background color of #312842
<div style="background-color:#312842">Text here</div>
#312842 Border Color
This box has a border color of #312842
<div style="border: 4px solid #312842">Text here</div>
CSS codes
<p style="color:#312842">Text here</p>
<div style="background-color:#312842">Text here</div>
<div style="border: 4px solid #312842">Text here</div>
#312842 Color on white background
This is how a font and box color of #312842 will look
on a white background.
#312842 Color on black background
This is how a font and box color of #312842 hex color will look
on a black background.