In RGB color space, #5104e2 hex color has a red value of 81, a green value of 4 and a blue value of 226.
In CMYK color space (used in color printing), #5104e2 hex color is composed of 64.16% cyan, 98.23% magenta, 0% yellow and 11.37% black.
#5104e2 color has a hue of 260.8 degrees, a saturation of 96.52% and a lightness of 45.1%.
#5104e2 hex color contains mainly BLUE.
The closest web safe color of #5104e2 is #6600cc
#5104e2 hex color has a decimal value of 5309666.
HEX | 5104e2 | #5104e2 |
---|---|---|
RGB | 81, 4, 226 | rgb(81, 4, 226) |
RGB Percent | 31.76, 1.57, 88.63 | rgb(31.76, 1.57, 88.63) |
CMYK | 64, 98, 0, 11 | |
HSL | 260.8°, 96.52, 45.1 | hsl(260.8, 96.52%, 45.1%) |
HSV | 260.8°, 98.2, 88.6 |
XYZ | 17.164, 7.327, 72.461 |
---|---|
Hunter Lab | 27.068, 65.816, -139.769 |
CIE-LAB | 32.54, 73.392, -90.924 |
CIE-LCH | 32.54, 116.848, 308.91 |
CIE-LUV | 64.16, 98.23, 0, 11.37 |
Web Safe | 6600cc |
RGB percent of color #5104e2
CMYK percent of color #5104e2
Text with hexadecimal color #5104e2
This text has a font color of #5104e2
<p style="color:#5104e2">Text here</p>
#5104e2 Background Color
This box has a background color of #5104e2
<div style="background-color:#5104e2">Text here</div>
#5104e2 Border Color
This box has a border color of #5104e2
<div style="border: 4px solid #5104e2">Text here</div>
CSS codes
<p style="color:#5104e2">Text here</p>
<div style="background-color:#5104e2">Text here</div>
<div style="border: 4px solid #5104e2">Text here</div>
#5104e2 Color on white background
This is how a font and box color of #5104e2 will look
on a white background.
#5104e2 Color on black background
This is how a font and box color of #5104e2 hex color will look
on a black background.