In RGB color space, #0540ff hex color has a red value of 5, a green value of 64 and a blue value of 255.
In CMYK color space (used in color printing), #0540ff hex color is composed of 98.04% cyan, 74.9% magenta, 0% yellow and 0% black.
#0540ff color has a hue of 225.8 degrees, a saturation of 100% and a lightness of 51%.
#0540ff hex color contains mainly BLUE.
The closest web safe color of #0540ff is #0033ff
#0540ff hex color has a decimal value of 344319.
HEX | 0540ff | #0540ff |
---|---|---|
RGB | 5, 64, 255 | rgb(5, 64, 255) |
RGB Percent | 1.96, 25.1, 100 | rgb(1.96, 25.1, 100) |
CMYK | 98, 75, 0, 0 | |
HSL | 225.8°, 100, 51 | hsl(225.8, 100%, 51%) |
HSV | 225.8°, 98, 100 |
XYZ | 19.946, 10.919, 95.664 |
---|---|
Hunter Lab | 33.044, 49.92, -148.517 |
CIE-LAB | 39.444, 58.146, -95.962 |
CIE-LCH | 39.444, 112.204, 301.213 |
CIE-LUV | 98.04, 74.9, 0, 0 |
Web Safe | 0033ff |
RGB percent of color #0540ff
CMYK percent of color #0540ff
Text with hexadecimal color #0540ff
This text has a font color of #0540ff
<p style="color:#0540ff">Text here</p>
#0540ff Background Color
This box has a background color of #0540ff
<div style="background-color:#0540ff">Text here</div>
#0540ff Border Color
This box has a border color of #0540ff
<div style="border: 4px solid #0540ff">Text here</div>
CSS codes
<p style="color:#0540ff">Text here</p>
<div style="background-color:#0540ff">Text here</div>
<div style="border: 4px solid #0540ff">Text here</div>
#0540ff Color on white background
This is how a font and box color of #0540ff will look
on a white background.
#0540ff Color on black background
This is how a font and box color of #0540ff hex color will look
on a black background.