In RGB color space, #540af4 hex color has a red value of 84, a green value of 10 and a blue value of 244.
In CMYK color space (used in color printing), #540af4 hex color is composed of 65.57% cyan, 95.9% magenta, 0% yellow and 4.31% black.
#540af4 color has a hue of 259 degrees, a saturation of 92.13% and a lightness of 49.8%.
#540af4 hex color contains mainly BLUE.
The closest web safe color of #540af4 is #6600ff
#540af4 hex color has a decimal value of 5507828.
HEX | 540af4 | #540af4 |
---|---|---|
RGB | 84, 10, 244 | rgb(84, 10, 244) |
RGB Percent | 32.94, 3.92, 95.69 | rgb(32.94, 3.92, 95.69) |
CMYK | 66, 96, 0, 4 | |
HSL | 259°, 92.13, 49.8 | hsl(259, 92.13%, 49.8%) |
HSV | 259°, 95.9, 95.7 |
XYZ | 20.094, 8.634, 86.195 |
---|---|
Hunter Lab | 29.384, 70.646, -153.355 |
CIE-LAB | 35.27, 76.87, -96.617 |
CIE-LCH | 35.27, 123.466, 308.506 |
CIE-LUV | 65.57, 95.9, 0, 4.31 |
Web Safe | 6600ff |
RGB percent of color #540af4
CMYK percent of color #540af4
Text with hexadecimal color #540af4
This text has a font color of #540af4
<p style="color:#540af4">Text here</p>
#540af4 Background Color
This box has a background color of #540af4
<div style="background-color:#540af4">Text here</div>
#540af4 Border Color
This box has a border color of #540af4
<div style="border: 4px solid #540af4">Text here</div>
CSS codes
<p style="color:#540af4">Text here</p>
<div style="background-color:#540af4">Text here</div>
<div style="border: 4px solid #540af4">Text here</div>
#540af4 Color on white background
This is how a font and box color of #540af4 will look
on a white background.
#540af4 Color on black background
This is how a font and box color of #540af4 hex color will look
on a black background.