In RGB color space, #5102a8 hex color has a red value of 81, a green value of 2 and a blue value of 168.
In CMYK color space (used in color printing), #5102a8 hex color is composed of 51.79% cyan, 98.81% magenta, 0% yellow and 34.12% black.
#5102a8 color has a hue of 268.6 degrees, a saturation of 97.65% and a lightness of 33.3%.
#5102a8 hex color contains mainly BLUE.
The closest web safe color of #5102a8 is #660099
#5102a8 hex color has a decimal value of 5309096.
HEX | 5102a8 | #5102a8 |
---|---|---|
RGB | 81, 2, 168 | rgb(81, 2, 168) |
RGB Percent | 31.76, 0.78, 65.88 | rgb(31.76, 0.78, 65.88) |
CMYK | 52, 99, 0, 34 | |
HSL | 268.6°, 97.65, 33.3 | hsl(268.6, 97.65%, 33.3%) |
HSV | 268.6°, 98.8, 65.9 |
XYZ | 10.483, 4.62, 37.385 |
---|---|
Hunter Lab | 21.494, 49.442, -88.078 |
CIE-LAB | 25.624, 60.372, -68.283 |
CIE-LCH | 25.624, 91.145, 311.481 |
CIE-LUV | 51.79, 98.81, 0, 34.12 |
Web Safe | 660099 |
RGB percent of color #5102a8
CMYK percent of color #5102a8
Text with hexadecimal color #5102a8
This text has a font color of #5102a8
<p style="color:#5102a8">Text here</p>
#5102a8 Background Color
This box has a background color of #5102a8
<div style="background-color:#5102a8">Text here</div>
#5102a8 Border Color
This box has a border color of #5102a8
<div style="border: 4px solid #5102a8">Text here</div>
CSS codes
<p style="color:#5102a8">Text here</p>
<div style="background-color:#5102a8">Text here</div>
<div style="border: 4px solid #5102a8">Text here</div>
#5102a8 Color on white background
This is how a font and box color of #5102a8 will look
on a white background.
#5102a8 Color on black background
This is how a font and box color of #5102a8 hex color will look
on a black background.