In RGB color space, #0540f4 hex color has a red value of 5, a green value of 64 and a blue value of 244.
In CMYK color space (used in color printing), #0540f4 hex color is composed of 97.95% cyan, 73.77% magenta, 0% yellow and 4.31% black.
#0540f4 color has a hue of 225.2 degrees, a saturation of 95.98% and a lightness of 48.8%.
#0540f4 hex color contains mainly BLUE.
The closest web safe color of #0540f4 is #0033ff
#0540f4 hex color has a decimal value of 344308.
HEX | 0540f4 | #0540f4 |
---|---|---|
RGB | 5, 64, 244 | rgb(5, 64, 244) |
RGB Percent | 1.96, 25.1, 95.69 | rgb(1.96, 25.1, 95.69) |
CMYK | 98, 74, 0, 4 | |
HSL | 225.2°, 95.98, 48.8 | hsl(225.2, 95.98%, 48.8%) |
HSV | 225.2°, 98, 95.7 |
XYZ | 18.225, 10.231, 86.602 |
---|---|
Hunter Lab | 31.986, 45.731, -138.138 |
CIE-LAB | 38.254, 54.47, -91.763 |
CIE-LCH | 38.254, 106.712, 300.693 |
CIE-LUV | 97.95, 73.77, 0, 4.31 |
Web Safe | 0033ff |
RGB percent of color #0540f4
CMYK percent of color #0540f4
Text with hexadecimal color #0540f4
This text has a font color of #0540f4
<p style="color:#0540f4">Text here</p>
#0540f4 Background Color
This box has a background color of #0540f4
<div style="background-color:#0540f4">Text here</div>
#0540f4 Border Color
This box has a border color of #0540f4
<div style="border: 4px solid #0540f4">Text here</div>
CSS codes
<p style="color:#0540f4">Text here</p>
<div style="background-color:#0540f4">Text here</div>
<div style="border: 4px solid #0540f4">Text here</div>
#0540f4 Color on white background
This is how a font and box color of #0540f4 will look
on a white background.
#0540f4 Color on black background
This is how a font and box color of #0540f4 hex color will look
on a black background.