In RGB color space, #31178c hex color has a red value of 49, a green value of 23 and a blue value of 140.
In CMYK color space (used in color printing), #31178c hex color is composed of 65% cyan, 83.57% magenta, 0% yellow and 45.1% black.
#31178c color has a hue of 253.3 degrees, a saturation of 71.78% and a lightness of 32%.
#31178c hex color contains mainly BLUE.
The closest web safe color of #31178c is #330099
#31178c hex color has a decimal value of 3217292.
HEX | 31178c | #31178c |
---|---|---|
RGB | 49, 23, 140 | rgb(49, 23, 140) |
RGB Percent | 19.22, 9.02, 54.9 | rgb(19.22, 9.02, 54.9) |
CMYK | 65, 84, 0, 45 | |
HSL | 253.3°, 71.78, 32 | hsl(253.3, 71.78%, 32%) |
HSV | 253.3°, 83.6, 54.9 |
XYZ | 6.307, 3.159, 25.088 |
---|---|
Hunter Lab | 17.774, 32.237, -71.248 |
CIE-LAB | 20.67, 44.366, -59.388 |
CIE-LCH | 20.67, 74.13, 306.762 |
CIE-LUV | 65, 83.57, 0, 45.1 |
Web Safe | 330099 |
RGB percent of color #31178c
CMYK percent of color #31178c
Text with hexadecimal color #31178c
This text has a font color of #31178c
<p style="color:#31178c">Text here</p>
#31178c Background Color
This box has a background color of #31178c
<div style="background-color:#31178c">Text here</div>
#31178c Border Color
This box has a border color of #31178c
<div style="border: 4px solid #31178c">Text here</div>
CSS codes
<p style="color:#31178c">Text here</p>
<div style="background-color:#31178c">Text here</div>
<div style="border: 4px solid #31178c">Text here</div>
#31178c Color on white background
This is how a font and box color of #31178c will look
on a white background.
#31178c Color on black background
This is how a font and box color of #31178c hex color will look
on a black background.