In RGB color space, #5104d2 hex color has a red value of 81, a green value of 4 and a blue value of 210.
In CMYK color space (used in color printing), #5104d2 hex color is composed of 61.43% cyan, 98.1% magenta, 0% yellow and 17.65% black.
#5104d2 color has a hue of 262.4 degrees, a saturation of 96.26% and a lightness of 42%.
#5104d2 hex color contains mainly BLUE.
The closest web safe color of #5104d2 is #6600cc
#5104d2 hex color has a decimal value of 5309650.
HEX | 5104d2 | #5104d2 |
---|---|---|
RGB | 81, 4, 210 | rgb(81, 4, 210) |
RGB Percent | 31.76, 1.57, 82.35 | rgb(31.76, 1.57, 82.35) |
CMYK | 61, 98, 0, 18 | |
HSL | 262.4°, 96.26, 42 | hsl(262.4, 96.26%, 42%) |
HSV | 262.4°, 98.1, 82.4 |
XYZ | 15.07, 6.489, 61.431 |
---|---|
Hunter Lab | 25.474, 61.021, -125.15 |
CIE-LAB | 30.614, 69.698, -84.893 |
CIE-LCH | 30.614, 109.839, 309.386 |
CIE-LUV | 61.43, 98.1, 0, 17.65 |
Web Safe | 6600cc |
RGB percent of color #5104d2
CMYK percent of color #5104d2
Text with hexadecimal color #5104d2
This text has a font color of #5104d2
<p style="color:#5104d2">Text here</p>
#5104d2 Background Color
This box has a background color of #5104d2
<div style="background-color:#5104d2">Text here</div>
#5104d2 Border Color
This box has a border color of #5104d2
<div style="border: 4px solid #5104d2">Text here</div>
CSS codes
<p style="color:#5104d2">Text here</p>
<div style="background-color:#5104d2">Text here</div>
<div style="border: 4px solid #5104d2">Text here</div>
#5104d2 Color on white background
This is how a font and box color of #5104d2 will look
on a white background.
#5104d2 Color on black background
This is how a font and box color of #5104d2 hex color will look
on a black background.