In RGB color space, #5102a0 hex color has a red value of 81, a green value of 2 and a blue value of 160.
In CMYK color space (used in color printing), #5102a0 hex color is composed of 49.38% cyan, 98.75% magenta, 0% yellow and 37.25% black.
#5102a0 color has a hue of 270 degrees, a saturation of 97.53% and a lightness of 31.8%.
#5102a0 hex color contains mainly BLUE.
The closest web safe color of #5102a0 is #660099
#5102a0 hex color has a decimal value of 5309088.
HEX | 5102a0 | #5102a0 |
---|---|---|
RGB | 81, 2, 160 | rgb(81, 2, 160) |
RGB Percent | 31.76, 0.78, 62.75 | rgb(31.76, 0.78, 62.75) |
CMYK | 49, 99, 0, 37 | |
HSL | 270°, 97.53, 31.8 | hsl(270, 97.53%, 31.8%) |
HSV | 270°, 98.8, 62.7 |
XYZ | 9.76, 4.331, 33.579 |
---|---|
Hunter Lab | 20.811, 47.294, -81.098 |
CIE-LAB | 24.737, 58.549, -64.888 |
CIE-LCH | 24.737, 87.398, 312.06 |
CIE-LUV | 49.38, 98.75, 0, 37.25 |
Web Safe | 660099 |
RGB percent of color #5102a0
CMYK percent of color #5102a0
Text with hexadecimal color #5102a0
This text has a font color of #5102a0
<p style="color:#5102a0">Text here</p>
#5102a0 Background Color
This box has a background color of #5102a0
<div style="background-color:#5102a0">Text here</div>
#5102a0 Border Color
This box has a border color of #5102a0
<div style="border: 4px solid #5102a0">Text here</div>
CSS codes
<p style="color:#5102a0">Text here</p>
<div style="background-color:#5102a0">Text here</div>
<div style="border: 4px solid #5102a0">Text here</div>
#5102a0 Color on white background
This is how a font and box color of #5102a0 will look
on a white background.
#5102a0 Color on black background
This is how a font and box color of #5102a0 hex color will look
on a black background.