In RGB color space, #5102b8 hex color has a red value of 81, a green value of 2 and a blue value of 184.
In CMYK color space (used in color printing), #5102b8 hex color is composed of 55.98% cyan, 98.91% magenta, 0% yellow and 27.84% black.
#5102b8 color has a hue of 266 degrees, a saturation of 97.85% and a lightness of 36.5%.
#5102b8 hex color contains mainly BLUE.
The closest web safe color of #5102b8 is #6600cc
#5102b8 hex color has a decimal value of 5309112.
HEX | 5102b8 | #5102b8 |
---|---|---|
RGB | 81, 2, 184 | rgb(81, 2, 184) |
RGB Percent | 31.76, 0.78, 72.16 | rgb(31.76, 0.78, 72.16) |
CMYK | 56, 99, 0, 28 | |
HSL | 266°, 97.85, 36.5 | hsl(266, 97.85%, 36.5%) |
HSV | 266°, 98.9, 72.2 |
XYZ | 12.067, 5.253, 45.725 |
---|---|
Hunter Lab | 22.919, 53.871, -102.242 |
CIE-LAB | 27.444, 64.041, -74.868 |
CIE-LCH | 27.444, 98.521, 310.543 |
CIE-LUV | 55.98, 98.91, 0, 27.84 |
Web Safe | 6600cc |
RGB percent of color #5102b8
CMYK percent of color #5102b8
Text with hexadecimal color #5102b8
This text has a font color of #5102b8
<p style="color:#5102b8">Text here</p>
#5102b8 Background Color
This box has a background color of #5102b8
<div style="background-color:#5102b8">Text here</div>
#5102b8 Border Color
This box has a border color of #5102b8
<div style="border: 4px solid #5102b8">Text here</div>
CSS codes
<p style="color:#5102b8">Text here</p>
<div style="background-color:#5102b8">Text here</div>
<div style="border: 4px solid #5102b8">Text here</div>
#5102b8 Color on white background
This is how a font and box color of #5102b8 will look
on a white background.
#5102b8 Color on black background
This is how a font and box color of #5102b8 hex color will look
on a black background.