In RGB color space, #002540 hex color has a red value of 0, a green value of 37 and a blue value of 64.
In CMYK color space (used in color printing), #002540 hex color is composed of 100% cyan, 42.19% magenta, 0% yellow and 74.9% black.
#002540 color has a hue of 205.3 degrees, a saturation of 100% and a lightness of 12.5%.
#002540 hex color contains mainly BLUE.
The closest web safe color of #002540 is #003333
#002540 hex color has a decimal value of 9536.
HEX | 002540 | #002540 |
---|---|---|
RGB | 0, 37, 64 | rgb(0, 37, 64) |
RGB Percent | 0, 14.51, 25.1 | rgb(0, 14.51, 25.1) |
CMYK | 100, 42, 0, 75 | |
HSL | 205.3°, 100, 12.5 | hsl(205.3, 100%, 12.5%) |
HSV | 205.3°, 100, 25.1 |
XYZ | 1.587, 1.693, 5.094 |
---|---|
Hunter Lab | 13.012, -0.999, -14.104 |
CIE-LAB | 13.786, -0.592, -20.711 |
CIE-LCH | 13.786, 20.719, 268.363 |
CIE-LUV | 100, 42.19, 0, 74.9 |
Web Safe | 003333 |
RGB percent of color #002540
CMYK percent of color #002540
Text with hexadecimal color #002540
This text has a font color of #002540
<p style="color:#002540">Text here</p>
#002540 Background Color
This box has a background color of #002540
<div style="background-color:#002540">Text here</div>
#002540 Border Color
This box has a border color of #002540
<div style="border: 4px solid #002540">Text here</div>
CSS codes
<p style="color:#002540">Text here</p>
<div style="background-color:#002540">Text here</div>
<div style="border: 4px solid #002540">Text here</div>
#002540 Color on white background
This is how a font and box color of #002540 will look
on a white background.
#002540 Color on black background
This is how a font and box color of #002540 hex color will look
on a black background.