In RGB color space, #540da2 hex color has a red value of 84, a green value of 13 and a blue value of 162.
In CMYK color space (used in color printing), #540da2 hex color is composed of 48.15% cyan, 91.98% magenta, 0% yellow and 36.47% black.
#540da2 color has a hue of 268.6 degrees, a saturation of 85.14% and a lightness of 34.3%.
#540da2 hex color contains mainly BLUE.
The closest web safe color of #540da2 is #660099
#540da2 hex color has a decimal value of 5508514.
HEX | 540da2 | #540da2 |
---|---|---|
RGB | 84, 13, 162 | rgb(84, 13, 162) |
RGB Percent | 32.94, 5.1, 63.53 | rgb(32.94, 5.1, 63.53) |
CMYK | 48, 92, 0, 36 | |
HSL | 268.6°, 85.14, 34.3 | hsl(268.6, 85.14%, 34.3%) |
HSV | 268.6°, 92, 63.5 |
XYZ | 10.322, 4.781, 34.561 |
---|---|
Hunter Lab | 21.865, 46, -78.409 |
CIE-LAB | 26.102, 57.078, -63.84 |
CIE-LCH | 26.102, 85.636, 311.799 |
CIE-LUV | 48.15, 91.98, 0, 36.47 |
Web Safe | 660099 |
RGB percent of color #540da2
CMYK percent of color #540da2
Text with hexadecimal color #540da2
This text has a font color of #540da2
<p style="color:#540da2">Text here</p>
#540da2 Background Color
This box has a background color of #540da2
<div style="background-color:#540da2">Text here</div>
#540da2 Border Color
This box has a border color of #540da2
<div style="border: 4px solid #540da2">Text here</div>
CSS codes
<p style="color:#540da2">Text here</p>
<div style="background-color:#540da2">Text here</div>
<div style="border: 4px solid #540da2">Text here</div>
#540da2 Color on white background
This is how a font and box color of #540da2 will look
on a white background.
#540da2 Color on black background
This is how a font and box color of #540da2 hex color will look
on a black background.