In RGB color space, #31118f hex color has a red value of 49, a green value of 17 and a blue value of 143.
In CMYK color space (used in color printing), #31118f hex color is composed of 65.73% cyan, 88.11% magenta, 0% yellow and 43.92% black.
#31118f color has a hue of 255.2 degrees, a saturation of 78.75% and a lightness of 31.4%.
#31118f hex color contains mainly BLUE.
The closest web safe color of #31118f is #330099
#31118f hex color has a decimal value of 3215759.
HEX | 31118f | #31118f |
---|---|---|
RGB | 49, 17, 143 | rgb(49, 17, 143) |
RGB Percent | 19.22, 6.67, 56.08 | rgb(19.22, 6.67, 56.08) |
CMYK | 66, 88, 0, 44 | |
HSL | 255.2°, 78.75, 31.4 | hsl(255.2, 78.75%, 31.4%) |
HSV | 255.2°, 88.1, 56.1 |
XYZ | 6.425, 3.037, 26.234 |
---|---|
Hunter Lab | 17.427, 35.312, -77.054 |
CIE-LAB | 20.191, 47.682, -62.052 |
CIE-LCH | 20.191, 78.256, 307.539 |
CIE-LUV | 65.73, 88.11, 0, 43.92 |
Web Safe | 330099 |
RGB percent of color #31118f
CMYK percent of color #31118f
Text with hexadecimal color #31118f
This text has a font color of #31118f
<p style="color:#31118f">Text here</p>
#31118f Background Color
This box has a background color of #31118f
<div style="background-color:#31118f">Text here</div>
#31118f Border Color
This box has a border color of #31118f
<div style="border: 4px solid #31118f">Text here</div>
CSS codes
<p style="color:#31118f">Text here</p>
<div style="background-color:#31118f">Text here</div>
<div style="border: 4px solid #31118f">Text here</div>
#31118f Color on white background
This is how a font and box color of #31118f will look
on a white background.
#31118f Color on black background
This is how a font and box color of #31118f hex color will look
on a black background.