In RGB color space, #540df2 hex color has a red value of 84, a green value of 13 and a blue value of 242.
In CMYK color space (used in color printing), #540df2 hex color is composed of 65.29% cyan, 94.63% magenta, 0% yellow and 5.1% black.
#540df2 color has a hue of 258.6 degrees, a saturation of 89.8% and a lightness of 50%.
#540df2 hex color contains mainly BLUE.
The closest web safe color of #540df2 is #6600ff
#540df2 hex color has a decimal value of 5508594.
HEX | 540df2 | #540df2 |
---|---|---|
RGB | 84, 13, 242 | rgb(84, 13, 242) |
RGB Percent | 32.94, 5.1, 94.9 | rgb(32.94, 5.1, 94.9) |
CMYK | 65, 95, 0, 5 | |
HSL | 258.6°, 89.8, 50 | hsl(258.6, 89.8%, 50%) |
HSV | 258.6°, 94.6, 94.9 |
XYZ | 19.827, 8.583, 84.616 |
---|---|
Hunter Lab | 29.297, 69.533, -150.736 |
CIE-LAB | 35.169, 75.98, -95.655 |
CIE-LCH | 35.169, 122.159, 308.461 |
CIE-LUV | 65.29, 94.63, 0, 5.1 |
Web Safe | 6600ff |
RGB percent of color #540df2
CMYK percent of color #540df2
Text with hexadecimal color #540df2
This text has a font color of #540df2
<p style="color:#540df2">Text here</p>
#540df2 Background Color
This box has a background color of #540df2
<div style="background-color:#540df2">Text here</div>
#540df2 Border Color
This box has a border color of #540df2
<div style="border: 4px solid #540df2">Text here</div>
CSS codes
<p style="color:#540df2">Text here</p>
<div style="background-color:#540df2">Text here</div>
<div style="border: 4px solid #540df2">Text here</div>
#540df2 Color on white background
This is how a font and box color of #540df2 will look
on a white background.
#540df2 Color on black background
This is how a font and box color of #540df2 hex color will look
on a black background.