In RGB color space, #5102cb hex color has a red value of 81, a green value of 2 and a blue value of 203.
In CMYK color space (used in color printing), #5102cb hex color is composed of 60.1% cyan, 99.01% magenta, 0% yellow and 20.39% black.
#5102cb color has a hue of 263.6 degrees, a saturation of 98.05% and a lightness of 40.2%.
#5102cb hex color contains mainly BLUE.
The closest web safe color of #5102cb is #6600cc
#5102cb hex color has a decimal value of 5309131.
HEX | 5102cb | #5102cb |
---|---|---|
RGB | 81, 2, 203 | rgb(81, 2, 203) |
RGB Percent | 31.76, 0.78, 79.61 | rgb(31.76, 0.78, 79.61) |
CMYK | 60, 99, 0, 20 | |
HSL | 263.6°, 98.05, 40.2 | hsl(263.6, 98.05%, 40.2%) |
HSV | 263.6°, 99, 79.6 |
XYZ | 14.195, 6.105, 56.93 |
---|---|
Hunter Lab | 24.708, 59.309, -119.313 |
CIE-LAB | 29.676, 68.4, -82.371 |
CIE-LCH | 29.676, 107.068, 309.706 |
CIE-LUV | 60.1, 99.01, 0, 20.39 |
Web Safe | 6600cc |
RGB percent of color #5102cb
CMYK percent of color #5102cb
Text with hexadecimal color #5102cb
This text has a font color of #5102cb
<p style="color:#5102cb">Text here</p>
#5102cb Background Color
This box has a background color of #5102cb
<div style="background-color:#5102cb">Text here</div>
#5102cb Border Color
This box has a border color of #5102cb
<div style="border: 4px solid #5102cb">Text here</div>
CSS codes
<p style="color:#5102cb">Text here</p>
<div style="background-color:#5102cb">Text here</div>
<div style="border: 4px solid #5102cb">Text here</div>
#5102cb Color on white background
This is how a font and box color of #5102cb will look
on a white background.
#5102cb Color on black background
This is how a font and box color of #5102cb hex color will look
on a black background.