In RGB color space, #5142d8 hex color has a red value of 81, a green value of 66 and a blue value of 216.
In CMYK color space (used in color printing), #5142d8 hex color is composed of 62.5% cyan, 69.44% magenta, 0% yellow and 15.29% black.
#5142d8 color has a hue of 246 degrees, a saturation of 65.79% and a lightness of 55.3%.
#5142d8 hex color contains mainly BLUE.
The closest web safe color of #5142d8 is #6633cc
#5142d8 hex color has a decimal value of 5325528.
HEX | 5142d8 | #5142d8 |
---|---|---|
RGB | 81, 66, 216 | rgb(81, 66, 216) |
RGB Percent | 31.76, 25.88, 84.71 | rgb(31.76, 25.88, 84.71) |
CMYK | 63, 69, 0, 15 | |
HSL | 246°, 65.79, 55.3 | hsl(246, 65.79%, 55.3%) |
HSV | 246°, 69.4, 84.7 |
XYZ | 17.736, 10.604, 66.078 |
---|---|
Hunter Lab | 32.564, 40.234, -97.516 |
CIE-LAB | 38.905, 49.06, -74.664 |
CIE-LCH | 38.905, 89.34, 303.308 |
CIE-LUV | 62.5, 69.44, 0, 15.29 |
Web Safe | 6633cc |
RGB percent of color #5142d8
CMYK percent of color #5142d8
Text with hexadecimal color #5142d8
This text has a font color of #5142d8
<p style="color:#5142d8">Text here</p>
#5142d8 Background Color
This box has a background color of #5142d8
<div style="background-color:#5142d8">Text here</div>
#5142d8 Border Color
This box has a border color of #5142d8
<div style="border: 4px solid #5142d8">Text here</div>
CSS codes
<p style="color:#5142d8">Text here</p>
<div style="background-color:#5142d8">Text here</div>
<div style="border: 4px solid #5142d8">Text here</div>
#5142d8 Color on white background
This is how a font and box color of #5142d8 will look
on a white background.
#5142d8 Color on black background
This is how a font and box color of #5142d8 hex color will look
on a black background.