In RGB color space, #5102c6 hex color has a red value of 81, a green value of 2 and a blue value of 198.
In CMYK color space (used in color printing), #5102c6 hex color is composed of 59.09% cyan, 98.99% magenta, 0% yellow and 22.35% black.
#5102c6 color has a hue of 264.2 degrees, a saturation of 98% and a lightness of 39.2%.
#5102c6 hex color contains mainly BLUE.
The closest web safe color of #5102c6 is #6600cc
#5102c6 hex color has a decimal value of 5309126.
HEX | 5102c6 | #5102c6 |
---|---|---|
RGB | 81, 2, 198 | rgb(81, 2, 198) |
RGB Percent | 31.76, 0.78, 77.65 | rgb(31.76, 0.78, 77.65) |
CMYK | 59, 99, 0, 22 | |
HSL | 264.2°, 98, 39.2 | hsl(264.2, 98%, 39.2%) |
HSV | 264.2°, 99, 77.6 |
XYZ | 13.608, 5.87, 53.842 |
---|---|
Hunter Lab | 24.228, 57.858, -114.8 |
CIE-LAB | 29.082, 67.251, -80.428 |
CIE-LCH | 29.082, 104.84, 309.901 |
CIE-LUV | 59.09, 98.99, 0, 22.35 |
Web Safe | 6600cc |
RGB percent of color #5102c6
CMYK percent of color #5102c6
Text with hexadecimal color #5102c6
This text has a font color of #5102c6
<p style="color:#5102c6">Text here</p>
#5102c6 Background Color
This box has a background color of #5102c6
<div style="background-color:#5102c6">Text here</div>
#5102c6 Border Color
This box has a border color of #5102c6
<div style="border: 4px solid #5102c6">Text here</div>
CSS codes
<p style="color:#5102c6">Text here</p>
<div style="background-color:#5102c6">Text here</div>
<div style="border: 4px solid #5102c6">Text here</div>
#5102c6 Color on white background
This is how a font and box color of #5102c6 will look
on a white background.
#5102c6 Color on black background
This is how a font and box color of #5102c6 hex color will look
on a black background.