In RGB color space, #540cf2 hex color has a red value of 84, a green value of 12 and a blue value of 242.
In CMYK color space (used in color printing), #540cf2 hex color is composed of 65.29% cyan, 95.04% magenta, 0% yellow and 5.1% black.
#540cf2 color has a hue of 258.8 degrees, a saturation of 90.55% and a lightness of 49.8%.
#540cf2 hex color contains mainly BLUE.
The closest web safe color of #540cf2 is #6600ff
#540cf2 hex color has a decimal value of 5508338.
HEX | 540cf2 | #540cf2 |
---|---|---|
RGB | 84, 12, 242 | rgb(84, 12, 242) |
RGB Percent | 32.94, 4.71, 94.9 | rgb(32.94, 4.71, 94.9) |
CMYK | 65, 95, 0, 5 | |
HSL | 258.8°, 90.55, 49.8 | hsl(258.8, 90.55%, 49.8%) |
HSV | 258.8°, 95, 94.9 |
XYZ | 19.815, 8.559, 84.612 |
---|---|
Hunter Lab | 29.256, 69.701, -150.996 |
CIE-LAB | 35.121, 76.126, -95.735 |
CIE-LCH | 35.121, 122.313, 308.491 |
CIE-LUV | 65.29, 95.04, 0, 5.1 |
Web Safe | 6600ff |
RGB percent of color #540cf2
CMYK percent of color #540cf2
Text with hexadecimal color #540cf2
This text has a font color of #540cf2
<p style="color:#540cf2">Text here</p>
#540cf2 Background Color
This box has a background color of #540cf2
<div style="background-color:#540cf2">Text here</div>
#540cf2 Border Color
This box has a border color of #540cf2
<div style="border: 4px solid #540cf2">Text here</div>
CSS codes
<p style="color:#540cf2">Text here</p>
<div style="background-color:#540cf2">Text here</div>
<div style="border: 4px solid #540cf2">Text here</div>
#540cf2 Color on white background
This is how a font and box color of #540cf2 will look
on a white background.
#540cf2 Color on black background
This is how a font and box color of #540cf2 hex color will look
on a black background.