In RGB color space, #5104c2 hex color has a red value of 81, a green value of 4 and a blue value of 194.
In CMYK color space (used in color printing), #5104c2 hex color is composed of 58.25% cyan, 97.94% magenta, 0% yellow and 23.92% black.
#5104c2 color has a hue of 264.3 degrees, a saturation of 95.96% and a lightness of 38.8%.
#5104c2 hex color contains mainly BLUE.
The closest web safe color of #5104c2 is #6600cc
#5104c2 hex color has a decimal value of 5309634.
HEX | 5104c2 | #5104c2 |
---|---|---|
RGB | 81, 4, 194 | rgb(81, 4, 194) |
RGB Percent | 31.76, 1.57, 76.08 | rgb(31.76, 1.57, 76.08) |
CMYK | 58, 98, 0, 24 | |
HSL | 264.3°, 95.96, 38.8 | hsl(264.3, 95.96%, 38.8%) |
HSV | 264.3°, 97.9, 76.1 |
XYZ | 13.174, 5.731, 51.451 |
---|---|
Hunter Lab | 23.94, 56.335, -110.669 |
CIE-LAB | 28.723, 65.986, -78.669 |
CIE-LCH | 28.723, 102.679, 309.989 |
CIE-LUV | 58.25, 97.94, 0, 23.92 |
Web Safe | 6600cc |
RGB percent of color #5104c2
CMYK percent of color #5104c2
Text with hexadecimal color #5104c2
This text has a font color of #5104c2
<p style="color:#5104c2">Text here</p>
#5104c2 Background Color
This box has a background color of #5104c2
<div style="background-color:#5104c2">Text here</div>
#5104c2 Border Color
This box has a border color of #5104c2
<div style="border: 4px solid #5104c2">Text here</div>
CSS codes
<p style="color:#5104c2">Text here</p>
<div style="background-color:#5104c2">Text here</div>
<div style="border: 4px solid #5104c2">Text here</div>
#5104c2 Color on white background
This is how a font and box color of #5104c2 will look
on a white background.
#5104c2 Color on black background
This is how a font and box color of #5104c2 hex color will look
on a black background.