In RGB color space, #540ce4 hex color has a red value of 84, a green value of 12 and a blue value of 228.
In CMYK color space (used in color printing), #540ce4 hex color is composed of 63.16% cyan, 94.74% magenta, 0% yellow and 10.59% black.
#540ce4 color has a hue of 260 degrees, a saturation of 90% and a lightness of 47.1%.
#540ce4 hex color contains mainly BLUE.
The closest web safe color of #540ce4 is #6600cc
#540ce4 hex color has a decimal value of 5508324.
HEX | 540ce4 | #540ce4 |
---|---|---|
RGB | 84, 12, 228 | rgb(84, 12, 228) |
RGB Percent | 32.94, 4.71, 89.41 | rgb(32.94, 4.71, 89.41) |
CMYK | 63, 95, 0, 11 | |
HSL | 260°, 90, 47.1 | hsl(260, 90%, 47.1%) |
HSV | 260°, 94.7, 89.4 |
XYZ | 17.791, 7.749, 73.957 |
---|---|
Hunter Lab | 27.837, 65.367, -138.035 |
CIE-LAB | 33.455, 72.85, -90.541 |
CIE-LCH | 33.455, 116.21, 308.82 |
CIE-LUV | 63.16, 94.74, 0, 10.59 |
Web Safe | 6600cc |
RGB percent of color #540ce4
CMYK percent of color #540ce4
Text with hexadecimal color #540ce4
This text has a font color of #540ce4
<p style="color:#540ce4">Text here</p>
#540ce4 Background Color
This box has a background color of #540ce4
<div style="background-color:#540ce4">Text here</div>
#540ce4 Border Color
This box has a border color of #540ce4
<div style="border: 4px solid #540ce4">Text here</div>
CSS codes
<p style="color:#540ce4">Text here</p>
<div style="background-color:#540ce4">Text here</div>
<div style="border: 4px solid #540ce4">Text here</div>
#540ce4 Color on white background
This is how a font and box color of #540ce4 will look
on a white background.
#540ce4 Color on black background
This is how a font and box color of #540ce4 hex color will look
on a black background.