In RGB color space, #540da4 hex color has a red value of 84, a green value of 13 and a blue value of 164.
In CMYK color space (used in color printing), #540da4 hex color is composed of 48.78% cyan, 92.07% magenta, 0% yellow and 35.69% black.
#540da4 color has a hue of 268.2 degrees, a saturation of 85.31% and a lightness of 34.7%.
#540da4 hex color contains mainly BLUE.
The closest web safe color of #540da4 is #660099
#540da4 hex color has a decimal value of 5508516.
HEX | 540da4 | #540da4 |
---|---|---|
RGB | 84, 13, 164 | rgb(84, 13, 164) |
RGB Percent | 32.94, 5.1, 64.31 | rgb(32.94, 5.1, 64.31) |
CMYK | 49, 92, 0, 36 | |
HSL | 268.2°, 85.31, 34.7 | hsl(268.2, 85.31%, 34.7%) |
HSV | 268.2°, 92.1, 64.3 |
XYZ | 10.501, 4.853, 35.505 |
---|---|
Hunter Lab | 22.03, 46.535, -80.137 |
CIE-LAB | 26.312, 57.542, -64.708 |
CIE-LCH | 26.312, 86.592, 311.645 |
CIE-LUV | 48.78, 92.07, 0, 35.69 |
Web Safe | 660099 |
RGB percent of color #540da4
CMYK percent of color #540da4
Text with hexadecimal color #540da4
This text has a font color of #540da4
<p style="color:#540da4">Text here</p>
#540da4 Background Color
This box has a background color of #540da4
<div style="background-color:#540da4">Text here</div>
#540da4 Border Color
This box has a border color of #540da4
<div style="border: 4px solid #540da4">Text here</div>
CSS codes
<p style="color:#540da4">Text here</p>
<div style="background-color:#540da4">Text here</div>
<div style="border: 4px solid #540da4">Text here</div>
#540da4 Color on white background
This is how a font and box color of #540da4 will look
on a white background.
#540da4 Color on black background
This is how a font and box color of #540da4 hex color will look
on a black background.