In RGB color space, #5142d1 hex color has a red value of 81, a green value of 66 and a blue value of 209.
In CMYK color space (used in color printing), #5142d1 hex color is composed of 61.24% cyan, 68.42% magenta, 0% yellow and 18.04% black.
#5142d1 color has a hue of 246.3 degrees, a saturation of 60.85% and a lightness of 53.9%.
#5142d1 hex color contains mainly BLUE.
The closest web safe color of #5142d1 is #6633cc
#5142d1 hex color has a decimal value of 5325521.
HEX | 5142d1 | #5142d1 |
---|---|---|
RGB | 81, 66, 209 | rgb(81, 66, 209) |
RGB Percent | 31.76, 25.88, 81.96 | rgb(31.76, 25.88, 81.96) |
CMYK | 61, 68, 0, 18 | |
HSL | 246.3°, 60.85, 53.9 | hsl(246.3, 60.85%, 53.9%) |
HSV | 246.3°, 68.4, 82 |
XYZ | 16.85, 10.249, 61.412 |
---|---|
Hunter Lab | 32.014, 37.926, -91.325 |
CIE-LAB | 38.286, 46.892, -71.649 |
CIE-LCH | 38.286, 85.63, 303.203 |
CIE-LUV | 61.24, 68.42, 0, 18.04 |
Web Safe | 6633cc |
RGB percent of color #5142d1
CMYK percent of color #5142d1
Text with hexadecimal color #5142d1
This text has a font color of #5142d1
<p style="color:#5142d1">Text here</p>
#5142d1 Background Color
This box has a background color of #5142d1
<div style="background-color:#5142d1">Text here</div>
#5142d1 Border Color
This box has a border color of #5142d1
<div style="border: 4px solid #5142d1">Text here</div>
CSS codes
<p style="color:#5142d1">Text here</p>
<div style="background-color:#5142d1">Text here</div>
<div style="border: 4px solid #5142d1">Text here</div>
#5142d1 Color on white background
This is how a font and box color of #5142d1 will look
on a white background.
#5142d1 Color on black background
This is how a font and box color of #5142d1 hex color will look
on a black background.