In RGB color space, #540cff hex color has a red value of 84, a green value of 12 and a blue value of 255.
In CMYK color space (used in color printing), #540cff hex color is composed of 67.06% cyan, 95.29% magenta, 0% yellow and 0% black.
#540cff color has a hue of 257.8 degrees, a saturation of 100% and a lightness of 52.4%.
#540cff hex color contains mainly BLUE.
The closest web safe color of #540cff is #6600ff
#540cff hex color has a decimal value of 5508351.
HEX | 540cff | #540cff |
---|---|---|
RGB | 84, 12, 255 | rgb(84, 12, 255) |
RGB Percent | 32.94, 4.71, 100 | rgb(32.94, 4.71, 100) |
CMYK | 67, 95, 0, 0 | |
HSL | 257.8°, 100, 52.4 | hsl(257.8, 100%, 52.4%) |
HSV | 257.8°, 95.3, 100 |
XYZ | 21.838, 9.368, 95.265 |
---|---|
Hunter Lab | 30.607, 73.796, -163.115 |
CIE-LAB | 36.683, 79.156, -100.455 |
CIE-LCH | 36.683, 127.894, 308.237 |
CIE-LUV | 67.06, 95.29, 0, 0 |
Web Safe | 6600ff |
RGB percent of color #540cff
CMYK percent of color #540cff
Text with hexadecimal color #540cff
This text has a font color of #540cff
<p style="color:#540cff">Text here</p>
#540cff Background Color
This box has a background color of #540cff
<div style="background-color:#540cff">Text here</div>
#540cff Border Color
This box has a border color of #540cff
<div style="border: 4px solid #540cff">Text here</div>
CSS codes
<p style="color:#540cff">Text here</p>
<div style="background-color:#540cff">Text here</div>
<div style="border: 4px solid #540cff">Text here</div>
#540cff Color on white background
This is how a font and box color of #540cff will look
on a white background.
#540cff Color on black background
This is how a font and box color of #540cff hex color will look
on a black background.