In RGB color space, #0540cd hex color has a red value of 5, a green value of 64 and a blue value of 205.
In CMYK color space (used in color printing), #0540cd hex color is composed of 97.56% cyan, 68.78% magenta, 0% yellow and 19.61% black.
#0540cd color has a hue of 222.3 degrees, a saturation of 95.24% and a lightness of 41.2%.
#0540cd hex color contains mainly BLUE.
The closest web safe color of #0540cd is #0033cc
#0540cd hex color has a decimal value of 344269.
HEX | 0540cd | #0540cd |
---|---|---|
RGB | 5, 64, 205 | rgb(5, 64, 205) |
RGB Percent | 1.96, 25.1, 80.39 | rgb(1.96, 25.1, 80.39) |
CMYK | 98, 69, 0, 20 | |
HSL | 222.3°, 95.24, 41.2 | hsl(222.3, 95.24%, 41.2%) |
HSV | 222.3°, 97.6, 80.4 |
XYZ | 12.915, 8.107, 58.642 |
---|---|
Hunter Lab | 28.473, 31.139, -102.182 |
CIE-LAB | 34.205, 40.653, -76.162 |
CIE-LCH | 34.205, 86.333, 298.092 |
CIE-LUV | 97.56, 68.78, 0, 19.61 |
Web Safe | 0033cc |
RGB percent of color #0540cd
CMYK percent of color #0540cd
Text with hexadecimal color #0540cd
This text has a font color of #0540cd
<p style="color:#0540cd">Text here</p>
#0540cd Background Color
This box has a background color of #0540cd
<div style="background-color:#0540cd">Text here</div>
#0540cd Border Color
This box has a border color of #0540cd
<div style="border: 4px solid #0540cd">Text here</div>
CSS codes
<p style="color:#0540cd">Text here</p>
<div style="background-color:#0540cd">Text here</div>
<div style="border: 4px solid #0540cd">Text here</div>
#0540cd Color on white background
This is how a font and box color of #0540cd will look
on a white background.
#0540cd Color on black background
This is how a font and box color of #0540cd hex color will look
on a black background.