In RGB color space, #5142cf hex color has a red value of 81, a green value of 66 and a blue value of 207.
In CMYK color space (used in color printing), #5142cf hex color is composed of 60.87% cyan, 68.12% magenta, 0% yellow and 18.82% black.
#5142cf color has a hue of 246.4 degrees, a saturation of 59.49% and a lightness of 53.5%.
#5142cf hex color contains mainly BLUE.
The closest web safe color of #5142cf is #6633cc
#5142cf hex color has a decimal value of 5325519.
HEX | 5142cf | #5142cf |
---|---|---|
RGB | 81, 66, 207 | rgb(81, 66, 207) |
RGB Percent | 31.76, 25.88, 81.18 | rgb(31.76, 25.88, 81.18) |
CMYK | 61, 68, 0, 19 | |
HSL | 246.4°, 59.49, 53.5 | hsl(246.4, 59.49%, 53.5%) |
HSV | 246.4°, 68.1, 81.2 |
XYZ | 16.604, 10.151, 60.116 |
---|---|
Hunter Lab | 31.861, 37.268, -89.568 |
CIE-LAB | 38.112, 46.267, -70.777 |
CIE-LCH | 38.112, 84.558, 303.173 |
CIE-LUV | 60.87, 68.12, 0, 18.82 |
Web Safe | 6633cc |
RGB percent of color #5142cf
CMYK percent of color #5142cf
Text with hexadecimal color #5142cf
This text has a font color of #5142cf
<p style="color:#5142cf">Text here</p>
#5142cf Background Color
This box has a background color of #5142cf
<div style="background-color:#5142cf">Text here</div>
#5142cf Border Color
This box has a border color of #5142cf
<div style="border: 4px solid #5142cf">Text here</div>
CSS codes
<p style="color:#5142cf">Text here</p>
<div style="background-color:#5142cf">Text here</div>
<div style="border: 4px solid #5142cf">Text here</div>
#5142cf Color on white background
This is how a font and box color of #5142cf will look
on a white background.
#5142cf Color on black background
This is how a font and box color of #5142cf hex color will look
on a black background.