In RGB color space, #540cc6 hex color has a red value of 84, a green value of 12 and a blue value of 198.
In CMYK color space (used in color printing), #540cc6 hex color is composed of 57.58% cyan, 93.94% magenta, 0% yellow and 22.35% black.
#540cc6 color has a hue of 263.2 degrees, a saturation of 88.57% and a lightness of 41.2%.
#540cc6 hex color contains mainly BLUE.
The closest web safe color of #540cc6 is #6600cc
#540cc6 hex color has a decimal value of 5508294.
HEX | 540cc6 | #540cc6 |
---|---|---|
RGB | 84, 12, 198 | rgb(84, 12, 198) |
RGB Percent | 32.94, 4.71, 77.65 | rgb(32.94, 4.71, 77.65) |
CMYK | 58, 94, 0, 22 | |
HSL | 263.2°, 88.57, 41.2 | hsl(263.2, 88.57%, 41.2%) |
HSV | 263.2°, 93.9, 77.6 |
XYZ | 13.981, 6.225, 53.891 |
---|---|
Hunter Lab | 24.95, 56.362, -110.599 |
CIE-LAB | 29.973, 65.779, -78.939 |
CIE-LCH | 29.973, 102.753, 309.804 |
CIE-LUV | 57.58, 93.94, 0, 22.35 |
Web Safe | 6600cc |
RGB percent of color #540cc6
CMYK percent of color #540cc6
Text with hexadecimal color #540cc6
This text has a font color of #540cc6
<p style="color:#540cc6">Text here</p>
#540cc6 Background Color
This box has a background color of #540cc6
<div style="background-color:#540cc6">Text here</div>
#540cc6 Border Color
This box has a border color of #540cc6
<div style="border: 4px solid #540cc6">Text here</div>
CSS codes
<p style="color:#540cc6">Text here</p>
<div style="background-color:#540cc6">Text here</div>
<div style="border: 4px solid #540cc6">Text here</div>
#540cc6 Color on white background
This is how a font and box color of #540cc6 will look
on a white background.
#540cc6 Color on black background
This is how a font and box color of #540cc6 hex color will look
on a black background.