In RGB color space, #540ff4 hex color has a red value of 84, a green value of 15 and a blue value of 244.
In CMYK color space (used in color printing), #540ff4 hex color is composed of 65.57% cyan, 93.85% magenta, 0% yellow and 4.31% black.
#540ff4 color has a hue of 258.1 degrees, a saturation of 91.24% and a lightness of 50.8%.
#540ff4 hex color contains mainly BLUE.
The closest web safe color of #540ff4 is #6600ff
#540ff4 hex color has a decimal value of 5509108.
HEX | 540ff4 | #540ff4 |
---|---|---|
RGB | 84, 15, 244 | rgb(84, 15, 244) |
RGB Percent | 32.94, 5.88, 95.69 | rgb(32.94, 5.88, 95.69) |
CMYK | 66, 94, 0, 4 | |
HSL | 258.1°, 91.24, 50.8 | hsl(258.1, 91.24%, 50.8%) |
HSV | 258.1°, 93.9, 95.7 |
XYZ | 20.156, 8.758, 86.216 |
---|---|
Hunter Lab | 29.594, 69.784, -152.014 |
CIE-LAB | 35.514, 76.123, -96.211 |
CIE-LCH | 35.514, 122.684, 308.351 |
CIE-LUV | 65.57, 93.85, 0, 4.31 |
Web Safe | 6600ff |
RGB percent of color #540ff4
CMYK percent of color #540ff4
Text with hexadecimal color #540ff4
This text has a font color of #540ff4
<p style="color:#540ff4">Text here</p>
#540ff4 Background Color
This box has a background color of #540ff4
<div style="background-color:#540ff4">Text here</div>
#540ff4 Border Color
This box has a border color of #540ff4
<div style="border: 4px solid #540ff4">Text here</div>
CSS codes
<p style="color:#540ff4">Text here</p>
<div style="background-color:#540ff4">Text here</div>
<div style="border: 4px solid #540ff4">Text here</div>
#540ff4 Color on white background
This is how a font and box color of #540ff4 will look
on a white background.
#540ff4 Color on black background
This is how a font and box color of #540ff4 hex color will look
on a black background.