In RGB color space, #5312c5 hex color has a red value of 83, a green value of 18 and a blue value of 197.
In CMYK color space (used in color printing), #5312c5 hex color is composed of 57.87% cyan, 90.86% magenta, 0% yellow and 22.75% black.
#5312c5 color has a hue of 261.8 degrees, a saturation of 83.26% and a lightness of 42.2%.
#5312c5 hex color contains mainly BLUE.
The closest web safe color of #5312c5 is #6600cc
#5312c5 hex color has a decimal value of 5444293.
HEX | 5312c5 | #5312c5 |
---|---|---|
RGB | 83, 18, 197 | rgb(83, 18, 197) |
RGB Percent | 32.55, 7.06, 77.25 | rgb(32.55, 7.06, 77.25) |
CMYK | 58, 91, 0, 23 | |
HSL | 261.8°, 83.26, 42.2 | hsl(261.8, 83.26%, 42.2%) |
HSV | 261.8°, 90.9, 77.3 |
XYZ | 13.862, 6.303, 53.309 |
---|---|
Hunter Lab | 25.106, 54.623, -108.321 |
CIE-LAB | 30.164, 64.203, -78.038 |
CIE-LCH | 30.164, 101.054, 309.445 |
CIE-LUV | 57.87, 90.86, 0, 22.75 |
Web Safe | 6600cc |
RGB percent of color #5312c5
CMYK percent of color #5312c5
Text with hexadecimal color #5312c5
This text has a font color of #5312c5
<p style="color:#5312c5">Text here</p>
#5312c5 Background Color
This box has a background color of #5312c5
<div style="background-color:#5312c5">Text here</div>
#5312c5 Border Color
This box has a border color of #5312c5
<div style="border: 4px solid #5312c5">Text here</div>
CSS codes
<p style="color:#5312c5">Text here</p>
<div style="background-color:#5312c5">Text here</div>
<div style="border: 4px solid #5312c5">Text here</div>
#5312c5 Color on white background
This is how a font and box color of #5312c5 will look
on a white background.
#5312c5 Color on black background
This is how a font and box color of #5312c5 hex color will look
on a black background.