In RGB color space, #540cf0 hex color has a red value of 84, a green value of 12 and a blue value of 240.
In CMYK color space (used in color printing), #540cf0 hex color is composed of 65% cyan, 95% magenta, 0% yellow and 5.88% black.
#540cf0 color has a hue of 258.9 degrees, a saturation of 90.48% and a lightness of 49.4%.
#540cf0 hex color contains mainly BLUE.
The closest web safe color of #540cf0 is #6600ff
#540cf0 hex color has a decimal value of 5508336.
HEX | 540cf0 | #540cf0 |
---|---|---|
RGB | 84, 12, 240 | rgb(84, 12, 240) |
RGB Percent | 32.94, 4.71, 94.12 | rgb(32.94, 4.71, 94.12) |
CMYK | 65, 95, 0, 6 | |
HSL | 258.9°, 90.48, 49.4 | hsl(258.9, 90.48%, 49.4%) |
HSV | 258.9°, 95, 94.1 |
XYZ | 19.516, 8.439, 83.038 |
---|---|
Hunter Lab | 29.05, 69.08, -149.143 |
CIE-LAB | 34.881, 75.662, -95.001 |
CIE-LCH | 34.881, 121.449, 308.535 |
CIE-LUV | 65, 95, 0, 5.88 |
Web Safe | 6600ff |
RGB percent of color #540cf0
CMYK percent of color #540cf0
Text with hexadecimal color #540cf0
This text has a font color of #540cf0
<p style="color:#540cf0">Text here</p>
#540cf0 Background Color
This box has a background color of #540cf0
<div style="background-color:#540cf0">Text here</div>
#540cf0 Border Color
This box has a border color of #540cf0
<div style="border: 4px solid #540cf0">Text here</div>
CSS codes
<p style="color:#540cf0">Text here</p>
<div style="background-color:#540cf0">Text here</div>
<div style="border: 4px solid #540cf0">Text here</div>
#540cf0 Color on white background
This is how a font and box color of #540cf0 will look
on a white background.
#540cf0 Color on black background
This is how a font and box color of #540cf0 hex color will look
on a black background.