In RGB color space, #5102d2 hex color has a red value of 81, a green value of 2 and a blue value of 210.
In CMYK color space (used in color printing), #5102d2 hex color is composed of 61.43% cyan, 99.05% magenta, 0% yellow and 17.65% black.
#5102d2 color has a hue of 262.8 degrees, a saturation of 98.11% and a lightness of 41.6%.
#5102d2 hex color contains mainly BLUE.
The closest web safe color of #5102d2 is #6600cc
#5102d2 hex color has a decimal value of 5309138.
HEX | 5102d2 | #5102d2 |
---|---|---|
RGB | 81, 2, 210 | rgb(81, 2, 210) |
RGB Percent | 31.76, 0.78, 82.35 | rgb(31.76, 0.78, 82.35) |
CMYK | 61, 99, 0, 18 | |
HSL | 262.8°, 98.11, 41.6 | hsl(262.8, 98.11%, 41.6%) |
HSV | 262.8°, 99, 82.4 |
XYZ | 15.048, 6.446, 61.424 |
---|---|
Hunter Lab | 25.389, 61.366, -125.669 |
CIE-LAB | 30.511, 70.011, -85.064 |
CIE-LCH | 30.511, 110.17, 309.456 |
CIE-LUV | 61.43, 99.05, 0, 17.65 |
Web Safe | 6600cc |
RGB percent of color #5102d2
CMYK percent of color #5102d2
Text with hexadecimal color #5102d2
This text has a font color of #5102d2
<p style="color:#5102d2">Text here</p>
#5102d2 Background Color
This box has a background color of #5102d2
<div style="background-color:#5102d2">Text here</div>
#5102d2 Border Color
This box has a border color of #5102d2
<div style="border: 4px solid #5102d2">Text here</div>
CSS codes
<p style="color:#5102d2">Text here</p>
<div style="background-color:#5102d2">Text here</div>
<div style="border: 4px solid #5102d2">Text here</div>
#5102d2 Color on white background
This is how a font and box color of #5102d2 will look
on a white background.
#5102d2 Color on black background
This is how a font and box color of #5102d2 hex color will look
on a black background.