In RGB color space, #31004c hex color has a red value of 49, a green value of 0 and a blue value of 76.
In CMYK color space (used in color printing), #31004c hex color is composed of 35.53% cyan, 100% magenta, 0% yellow and 70.2% black.
#31004c color has a hue of 278.7 degrees, a saturation of 100% and a lightness of 14.9%.
#31004c hex color contains mainly BLUE.
The closest web safe color of #31004c is #330033
#31004c hex color has a decimal value of 3211340.
HEX | 31004c | #31004c |
---|---|---|
RGB | 49, 0, 76 | rgb(49, 0, 76) |
RGB Percent | 19.22, 0, 29.8 | rgb(19.22, 0, 29.8) |
CMYK | 36, 100, 0, 70 | |
HSL | 278.7°, 100, 14.9 | hsl(278.7, 100%, 14.9%) |
HSV | 278.7°, 100, 29.8 |
XYZ | 2.571, 1.175, 6.929 |
---|---|
Hunter Lab | 10.84, 23.368, -30.312 |
CIE-LAB | 10.372, 36.421, -34.38 |
CIE-LCH | 10.372, 50.085, 316.651 |
CIE-LUV | 35.53, 100, 0, 70.2 |
Web Safe | 330033 |
RGB percent of color #31004c
CMYK percent of color #31004c
Text with hexadecimal color #31004c
This text has a font color of #31004c
<p style="color:#31004c">Text here</p>
#31004c Background Color
This box has a background color of #31004c
<div style="background-color:#31004c">Text here</div>
#31004c Border Color
This box has a border color of #31004c
<div style="border: 4px solid #31004c">Text here</div>
CSS codes
<p style="color:#31004c">Text here</p>
<div style="background-color:#31004c">Text here</div>
<div style="border: 4px solid #31004c">Text here</div>
#31004c Color on white background
This is how a font and box color of #31004c will look
on a white background.
#31004c Color on black background
This is how a font and box color of #31004c hex color will look
on a black background.