In RGB color space, #31118c hex color has a red value of 49, a green value of 17 and a blue value of 140.
In CMYK color space (used in color printing), #31118c hex color is composed of 65% cyan, 87.86% magenta, 0% yellow and 45.1% black.
#31118c color has a hue of 255.6 degrees, a saturation of 78.34% and a lightness of 30.8%.
#31118c hex color contains mainly BLUE.
The closest web safe color of #31118c is #330099
#31118c hex color has a decimal value of 3215756.
HEX | 31118c | #31118c |
---|---|---|
RGB | 49, 17, 140 | rgb(49, 17, 140) |
RGB Percent | 19.22, 6.67, 54.9 | rgb(19.22, 6.67, 54.9) |
CMYK | 65, 88, 0, 45 | |
HSL | 255.6°, 78.34, 30.8 | hsl(255.6, 78.34%, 30.8%) |
HSV | 255.6°, 87.9, 54.9 |
XYZ | 6.201, 2.947, 25.053 |
---|---|
Hunter Lab | 17.167, 34.436, -74.51 |
CIE-LAB | 19.83, 46.844, -60.778 |
CIE-LCH | 19.83, 76.735, 307.623 |
CIE-LUV | 65, 87.86, 0, 45.1 |
Web Safe | 330099 |
RGB percent of color #31118c
CMYK percent of color #31118c
Text with hexadecimal color #31118c
This text has a font color of #31118c
<p style="color:#31118c">Text here</p>
#31118c Background Color
This box has a background color of #31118c
<div style="background-color:#31118c">Text here</div>
#31118c Border Color
This box has a border color of #31118c
<div style="border: 4px solid #31118c">Text here</div>
CSS codes
<p style="color:#31118c">Text here</p>
<div style="background-color:#31118c">Text here</div>
<div style="border: 4px solid #31118c">Text here</div>
#31118c Color on white background
This is how a font and box color of #31118c will look
on a white background.
#31118c Color on black background
This is how a font and box color of #31118c hex color will look
on a black background.