In RGB color space, #540af6 hex color has a red value of 84, a green value of 10 and a blue value of 246.
In CMYK color space (used in color printing), #540af6 hex color is composed of 65.85% cyan, 95.93% magenta, 0% yellow and 3.53% black.
#540af6 color has a hue of 258.8 degrees, a saturation of 92.91% and a lightness of 50.2%.
#540af6 hex color contains mainly BLUE.
The closest web safe color of #540af6 is #6600ff
#540af6 hex color has a decimal value of 5507830.
HEX | 540af6 | #540af6 |
---|---|---|
RGB | 84, 10, 246 | rgb(84, 10, 246) |
RGB Percent | 32.94, 3.92, 96.47 | rgb(32.94, 3.92, 96.47) |
CMYK | 66, 96, 0, 4 | |
HSL | 258.8°, 92.91, 50.2 | hsl(258.8, 92.91%, 50.2%) |
HSV | 258.8°, 95.9, 96.5 |
XYZ | 20.399, 8.756, 87.804 |
---|---|
Hunter Lab | 29.591, 71.27, -155.218 |
CIE-LAB | 35.51, 77.333, -97.347 |
CIE-LCH | 35.51, 124.326, 308.464 |
CIE-LUV | 65.85, 95.93, 0, 3.53 |
Web Safe | 6600ff |
RGB percent of color #540af6
CMYK percent of color #540af6
Text with hexadecimal color #540af6
This text has a font color of #540af6
<p style="color:#540af6">Text here</p>
#540af6 Background Color
This box has a background color of #540af6
<div style="background-color:#540af6">Text here</div>
#540af6 Border Color
This box has a border color of #540af6
<div style="border: 4px solid #540af6">Text here</div>
CSS codes
<p style="color:#540af6">Text here</p>
<div style="background-color:#540af6">Text here</div>
<div style="border: 4px solid #540af6">Text here</div>
#540af6 Color on white background
This is how a font and box color of #540af6 will look
on a white background.
#540af6 Color on black background
This is how a font and box color of #540af6 hex color will look
on a black background.