In RGB color space, #5108f2 hex color has a red value of 81, a green value of 8 and a blue value of 242.
In CMYK color space (used in color printing), #5108f2 hex color is composed of 66.53% cyan, 96.69% magenta, 0% yellow and 5.1% black.
#5108f2 color has a hue of 258.7 degrees, a saturation of 93.6% and a lightness of 49%.
#5108f2 hex color contains mainly BLUE.
The closest web safe color of #5108f2 is #6600ff
#5108f2 hex color has a decimal value of 5310706.
HEX | 5108f2 | #5108f2 |
---|---|---|
RGB | 81, 8, 242 | rgb(81, 8, 242) |
RGB Percent | 31.76, 3.14, 94.9 | rgb(31.76, 3.14, 94.9) |
CMYK | 67, 97, 0, 5 | |
HSL | 258.7°, 93.6, 49 | hsl(258.7, 93.6%, 49%) |
HSV | 258.7°, 96.7, 94.9 |
XYZ | 19.507, 8.334, 84.585 |
---|---|
Hunter Lab | 28.869, 70.095, -153.511 |
CIE-LAB | 34.669, 76.53, -96.494 |
CIE-LCH | 34.669, 123.158, 308.418 |
CIE-LUV | 66.53, 96.69, 0, 5.1 |
Web Safe | 6600ff |
RGB percent of color #5108f2
CMYK percent of color #5108f2
Text with hexadecimal color #5108f2
This text has a font color of #5108f2
<p style="color:#5108f2">Text here</p>
#5108f2 Background Color
This box has a background color of #5108f2
<div style="background-color:#5108f2">Text here</div>
#5108f2 Border Color
This box has a border color of #5108f2
<div style="border: 4px solid #5108f2">Text here</div>
CSS codes
<p style="color:#5108f2">Text here</p>
<div style="background-color:#5108f2">Text here</div>
<div style="border: 4px solid #5108f2">Text here</div>
#5108f2 Color on white background
This is how a font and box color of #5108f2 will look
on a white background.
#5108f2 Color on black background
This is how a font and box color of #5108f2 hex color will look
on a black background.