In RGB color space, #540cf4 hex color has a red value of 84, a green value of 12 and a blue value of 244.
In CMYK color space (used in color printing), #540cf4 hex color is composed of 65.57% cyan, 95.08% magenta, 0% yellow and 4.31% black.
#540cf4 color has a hue of 258.6 degrees, a saturation of 91.34% and a lightness of 50.2%.
#540cf4 hex color contains mainly BLUE.
The closest web safe color of #540cf4 is #6600ff
#540cf4 hex color has a decimal value of 5508340.
HEX | 540cf4 | #540cf4 |
---|---|---|
RGB | 84, 12, 244 | rgb(84, 12, 244) |
RGB Percent | 32.94, 4.71, 95.69 | rgb(32.94, 4.71, 95.69) |
CMYK | 66, 95, 0, 4 | |
HSL | 258.6°, 91.34, 50.2 | hsl(258.6, 91.34%, 50.2%) |
HSV | 258.6°, 95.1, 95.7 |
XYZ | 20.117, 8.679, 86.203 |
---|---|
Hunter Lab | 29.46, 70.334, -152.866 |
CIE-LAB | 35.359, 76.6, -96.47 |
CIE-LCH | 35.359, 123.183, 308.451 |
CIE-LUV | 65.57, 95.08, 0, 4.31 |
Web Safe | 6600ff |
RGB percent of color #540cf4
CMYK percent of color #540cf4
Text with hexadecimal color #540cf4
This text has a font color of #540cf4
<p style="color:#540cf4">Text here</p>
#540cf4 Background Color
This box has a background color of #540cf4
<div style="background-color:#540cf4">Text here</div>
#540cf4 Border Color
This box has a border color of #540cf4
<div style="border: 4px solid #540cf4">Text here</div>
CSS codes
<p style="color:#540cf4">Text here</p>
<div style="background-color:#540cf4">Text here</div>
<div style="border: 4px solid #540cf4">Text here</div>
#540cf4 Color on white background
This is how a font and box color of #540cf4 will look
on a white background.
#540cf4 Color on black background
This is how a font and box color of #540cf4 hex color will look
on a black background.