In RGB color space, #540ac2 hex color has a red value of 84, a green value of 10 and a blue value of 194.
In CMYK color space (used in color printing), #540ac2 hex color is composed of 56.7% cyan, 94.85% magenta, 0% yellow and 23.92% black.
#540ac2 color has a hue of 264.1 degrees, a saturation of 90.2% and a lightness of 40%.
#540ac2 hex color contains mainly BLUE.
The closest web safe color of #540ac2 is #6600cc
#540ac2 hex color has a decimal value of 5507778.
HEX | 540ac2 | #540ac2 |
---|---|---|
RGB | 84, 10, 194 | rgb(84, 10, 194) |
RGB Percent | 32.94, 3.92, 76.08 | rgb(32.94, 3.92, 76.08) |
CMYK | 57, 95, 0, 24 | |
HSL | 264.1°, 90.2, 40 | hsl(264.1, 90.2%, 40%) |
HSV | 264.1°, 94.8, 76.1 |
XYZ | 13.502, 5.997, 51.485 |
---|---|
Hunter Lab | 24.489, 55.561, -107.509 |
CIE-LAB | 29.405, 65.179, -77.529 |
CIE-LCH | 29.405, 101.287, 310.054 |
CIE-LUV | 56.7, 94.85, 0, 23.92 |
Web Safe | 6600cc |
RGB percent of color #540ac2
CMYK percent of color #540ac2
Text with hexadecimal color #540ac2
This text has a font color of #540ac2
<p style="color:#540ac2">Text here</p>
#540ac2 Background Color
This box has a background color of #540ac2
<div style="background-color:#540ac2">Text here</div>
#540ac2 Border Color
This box has a border color of #540ac2
<div style="border: 4px solid #540ac2">Text here</div>
CSS codes
<p style="color:#540ac2">Text here</p>
<div style="background-color:#540ac2">Text here</div>
<div style="border: 4px solid #540ac2">Text here</div>
#540ac2 Color on white background
This is how a font and box color of #540ac2 will look
on a white background.
#540ac2 Color on black background
This is how a font and box color of #540ac2 hex color will look
on a black background.