In RGB color space, #540ec2 hex color has a red value of 84, a green value of 14 and a blue value of 194.
In CMYK color space (used in color printing), #540ec2 hex color is composed of 56.7% cyan, 92.78% magenta, 0% yellow and 23.92% black.
#540ec2 color has a hue of 263.3 degrees, a saturation of 86.54% and a lightness of 40.8%.
#540ec2 hex color contains mainly BLUE.
The closest web safe color of #540ec2 is #6600cc
#540ec2 hex color has a decimal value of 5508802.
HEX | 540ec2 | #540ec2 |
---|---|---|
RGB | 84, 14, 194 | rgb(84, 14, 194) |
RGB Percent | 32.94, 5.49, 76.08 | rgb(32.94, 5.49, 76.08) |
CMYK | 57, 93, 0, 24 | |
HSL | 263.3°, 86.54, 40.8 | hsl(263.3, 86.54%, 40.8%) |
HSV | 263.3°, 92.8, 76.1 |
XYZ | 13.551, 6.094, 51.501 |
---|---|
Hunter Lab | 24.686, 54.784, -106.413 |
CIE-LAB | 29.648, 64.444, -77.125 |
CIE-LCH | 29.648, 100.505, 309.881 |
CIE-LUV | 56.7, 92.78, 0, 23.92 |
Web Safe | 6600cc |
RGB percent of color #540ec2
CMYK percent of color #540ec2
Text with hexadecimal color #540ec2
This text has a font color of #540ec2
<p style="color:#540ec2">Text here</p>
#540ec2 Background Color
This box has a background color of #540ec2
<div style="background-color:#540ec2">Text here</div>
#540ec2 Border Color
This box has a border color of #540ec2
<div style="border: 4px solid #540ec2">Text here</div>
CSS codes
<p style="color:#540ec2">Text here</p>
<div style="background-color:#540ec2">Text here</div>
<div style="border: 4px solid #540ec2">Text here</div>
#540ec2 Color on white background
This is how a font and box color of #540ec2 will look
on a white background.
#540ec2 Color on black background
This is how a font and box color of #540ec2 hex color will look
on a black background.