In RGB color space, #540af9 hex color has a red value of 84, a green value of 10 and a blue value of 249.
In CMYK color space (used in color printing), #540af9 hex color is composed of 66.27% cyan, 95.98% magenta, 0% yellow and 2.35% black.
#540af9 color has a hue of 258.6 degrees, a saturation of 95.22% and a lightness of 50.8%.
#540af9 hex color contains mainly BLUE.
The closest web safe color of #540af9 is #6600ff
#540af9 hex color has a decimal value of 5507833.
HEX | 540af9 | #540af9 |
---|---|---|
RGB | 84, 10, 249 | rgb(84, 10, 249) |
RGB Percent | 32.94, 3.92, 97.65 | rgb(32.94, 3.92, 97.65) |
CMYK | 66, 96, 0, 2 | |
HSL | 258.6°, 95.22, 50.8 | hsl(258.6, 95.22%, 50.8%) |
HSV | 258.6°, 96, 97.6 |
XYZ | 20.864, 8.941, 90.249 |
---|---|
Hunter Lab | 29.902, 72.222, -158.019 |
CIE-LAB | 35.87, 78.038, -98.438 |
CIE-LCH | 35.87, 125.618, 308.406 |
CIE-LUV | 66.27, 95.98, 0, 2.35 |
Web Safe | 6600ff |
RGB percent of color #540af9
CMYK percent of color #540af9
Text with hexadecimal color #540af9
This text has a font color of #540af9
<p style="color:#540af9">Text here</p>
#540af9 Background Color
This box has a background color of #540af9
<div style="background-color:#540af9">Text here</div>
#540af9 Border Color
This box has a border color of #540af9
<div style="border: 4px solid #540af9">Text here</div>
CSS codes
<p style="color:#540af9">Text here</p>
<div style="background-color:#540af9">Text here</div>
<div style="border: 4px solid #540af9">Text here</div>
#540af9 Color on white background
This is how a font and box color of #540af9 will look
on a white background.
#540af9 Color on black background
This is how a font and box color of #540af9 hex color will look
on a black background.