In RGB color space, #540ba2 hex color has a red value of 84, a green value of 11 and a blue value of 162.
In CMYK color space (used in color printing), #540ba2 hex color is composed of 48.15% cyan, 93.21% magenta, 0% yellow and 36.47% black.
#540ba2 color has a hue of 269 degrees, a saturation of 87.28% and a lightness of 33.9%.
#540ba2 hex color contains mainly BLUE.
The closest web safe color of #540ba2 is #660099
#540ba2 hex color has a decimal value of 5508002.
HEX | 540ba2 | #540ba2 |
---|---|---|
RGB | 84, 11, 162 | rgb(84, 11, 162) |
RGB Percent | 32.94, 4.31, 63.53 | rgb(32.94, 4.31, 63.53) |
CMYK | 48, 93, 0, 36 | |
HSL | 269°, 87.28, 33.9 | hsl(269, 87.28%, 33.9%) |
HSV | 269°, 93.2, 63.5 |
XYZ | 10.297, 4.733, 34.553 |
---|---|
Hunter Lab | 21.755, 46.413, -78.938 |
CIE-LAB | 25.96, 57.494, -64.073 |
CIE-LCH | 25.96, 86.087, 311.902 |
CIE-LUV | 48.15, 93.21, 0, 36.47 |
Web Safe | 660099 |
RGB percent of color #540ba2
CMYK percent of color #540ba2
Text with hexadecimal color #540ba2
This text has a font color of #540ba2
<p style="color:#540ba2">Text here</p>
#540ba2 Background Color
This box has a background color of #540ba2
<div style="background-color:#540ba2">Text here</div>
#540ba2 Border Color
This box has a border color of #540ba2
<div style="border: 4px solid #540ba2">Text here</div>
CSS codes
<p style="color:#540ba2">Text here</p>
<div style="background-color:#540ba2">Text here</div>
<div style="border: 4px solid #540ba2">Text here</div>
#540ba2 Color on white background
This is how a font and box color of #540ba2 will look
on a white background.
#540ba2 Color on black background
This is how a font and box color of #540ba2 hex color will look
on a black background.