In RGB color space, #5142f0 hex color has a red value of 81, a green value of 66 and a blue value of 240.
In CMYK color space (used in color printing), #5142f0 hex color is composed of 66.25% cyan, 72.5% magenta, 0% yellow and 5.88% black.
#5142f0 color has a hue of 245.2 degrees, a saturation of 85.29% and a lightness of 60%.
#5142f0 hex color contains mainly BLUE.
The closest web safe color of #5142f0 is #6633ff
#5142f0 hex color has a decimal value of 5325552.
HEX | 5142f0 | #5142f0 |
---|---|---|
RGB | 81, 66, 240 | rgb(81, 66, 240) |
RGB Percent | 31.76, 25.88, 94.12 | rgb(31.76, 25.88, 94.12) |
CMYK | 66, 73, 0, 6 | |
HSL | 245.2°, 85.29, 60 | hsl(245.2, 85.29%, 60%) |
HSV | 245.2°, 72.5, 94.1 |
XYZ | 21.07, 11.937, 83.632 |
---|---|
Hunter Lab | 34.55, 48.394, -119.333 |
CIE-LAB | 41.116, 56.418, -84.686 |
CIE-LCH | 41.116, 101.758, 303.672 |
CIE-LUV | 66.25, 72.5, 0, 5.88 |
Web Safe | 6633ff |
RGB percent of color #5142f0
CMYK percent of color #5142f0
Text with hexadecimal color #5142f0
This text has a font color of #5142f0
<p style="color:#5142f0">Text here</p>
#5142f0 Background Color
This box has a background color of #5142f0
<div style="background-color:#5142f0">Text here</div>
#5142f0 Border Color
This box has a border color of #5142f0
<div style="border: 4px solid #5142f0">Text here</div>
CSS codes
<p style="color:#5142f0">Text here</p>
<div style="background-color:#5142f0">Text here</div>
<div style="border: 4px solid #5142f0">Text here</div>
#5142f0 Color on white background
This is how a font and box color of #5142f0 will look
on a white background.
#5142f0 Color on black background
This is how a font and box color of #5142f0 hex color will look
on a black background.