In RGB color space, #5142c4 hex color has a red value of 81, a green value of 66 and a blue value of 196.
In CMYK color space (used in color printing), #5142c4 hex color is composed of 58.67% cyan, 66.33% magenta, 0% yellow and 23.14% black.
#5142c4 color has a hue of 246.9 degrees, a saturation of 52.42% and a lightness of 51.4%.
#5142c4 hex color contains mainly BLUE.
The closest web safe color of #5142c4 is #6633cc
#5142c4 hex color has a decimal value of 5325508.
HEX | 5142c4 | #5142c4 |
---|---|---|
RGB | 81, 66, 196 | rgb(81, 66, 196) |
RGB Percent | 31.76, 25.88, 76.86 | rgb(31.76, 25.88, 76.86) |
CMYK | 59, 66, 0, 23 | |
HSL | 246.9°, 52.42, 51.4 | hsl(246.9, 52.42%, 51.4%) |
HSV | 246.9°, 66.3, 76.9 |
XYZ | 15.305, 9.631, 53.277 |
---|---|
Hunter Lab | 31.034, 33.722, -80.062 |
CIE-LAB | 37.172, 42.831, -65.925 |
CIE-LCH | 37.172, 78.617, 303.011 |
CIE-LUV | 58.67, 66.33, 0, 23.14 |
Web Safe | 6633cc |
RGB percent of color #5142c4
CMYK percent of color #5142c4
Text with hexadecimal color #5142c4
This text has a font color of #5142c4
<p style="color:#5142c4">Text here</p>
#5142c4 Background Color
This box has a background color of #5142c4
<div style="background-color:#5142c4">Text here</div>
#5142c4 Border Color
This box has a border color of #5142c4
<div style="border: 4px solid #5142c4">Text here</div>
CSS codes
<p style="color:#5142c4">Text here</p>
<div style="background-color:#5142c4">Text here</div>
<div style="border: 4px solid #5142c4">Text here</div>
#5142c4 Color on white background
This is how a font and box color of #5142c4 will look
on a white background.
#5142c4 Color on black background
This is how a font and box color of #5142c4 hex color will look
on a black background.