In RGB color space, #5108ff hex color has a red value of 81, a green value of 8 and a blue value of 255.
In CMYK color space (used in color printing), #5108ff hex color is composed of 68.24% cyan, 96.86% magenta, 0% yellow and 0% black.
#5108ff color has a hue of 257.7 degrees, a saturation of 100% and a lightness of 51.6%.
#5108ff hex color contains mainly BLUE.
The closest web safe color of #5108ff is #6600ff
#5108ff hex color has a decimal value of 5310719.
HEX | 5108ff | #5108ff |
---|---|---|
RGB | 81, 8, 255 | rgb(81, 8, 255) |
RGB Percent | 31.76, 3.14, 100 | rgb(31.76, 3.14, 100) |
CMYK | 68, 97, 0, 0 | |
HSL | 257.7°, 100, 51.6 | hsl(257.7, 100%, 51.6%) |
HSV | 257.7°, 96.9, 100 |
XYZ | 21.53, 9.143, 95.238 |
---|---|
Hunter Lab | 30.237, 74.182, -165.578 |
CIE-LAB | 36.258, 79.542, -101.17 |
CIE-LCH | 36.258, 128.695, 308.175 |
CIE-LUV | 68.24, 96.86, 0, 0 |
Web Safe | 6600ff |
RGB percent of color #5108ff
CMYK percent of color #5108ff
Text with hexadecimal color #5108ff
This text has a font color of #5108ff
<p style="color:#5108ff">Text here</p>
#5108ff Background Color
This box has a background color of #5108ff
<div style="background-color:#5108ff">Text here</div>
#5108ff Border Color
This box has a border color of #5108ff
<div style="border: 4px solid #5108ff">Text here</div>
CSS codes
<p style="color:#5108ff">Text here</p>
<div style="background-color:#5108ff">Text here</div>
<div style="border: 4px solid #5108ff">Text here</div>
#5108ff Color on white background
This is how a font and box color of #5108ff will look
on a white background.
#5108ff Color on black background
This is how a font and box color of #5108ff hex color will look
on a black background.