In RGB color space, #0040ff hex color has a red value of 0, a green value of 64 and a blue value of 255.
In CMYK color space (used in color printing), #0040ff hex color is composed of 100% cyan, 74.9% magenta, 0% yellow and 0% black.
#0040ff color has a hue of 224.9 degrees, a saturation of 100% and a lightness of 50%.
#0040ff hex color contains mainly BLUE.
The closest web safe color of #0040ff is #0033ff
#0040ff hex color has a decimal value of 16639.
HEX | 0040ff | #0040ff |
---|---|---|
RGB | 0, 64, 255 | rgb(0, 64, 255) |
RGB Percent | 0, 25.1, 100 | rgb(0, 25.1, 100) |
CMYK | 100, 75, 0, 0 | |
HSL | 224.9°, 100, 50 | hsl(224.9, 100%, 50%) |
HSV | 224.9°, 100, 100 |
XYZ | 19.883, 10.887, 95.661 |
---|---|
Hunter Lab | 32.995, 49.822, -148.798 |
CIE-LAB | 39.389, 58.066, -96.054 |
CIE-LCH | 39.389, 112.241, 301.154 |
CIE-LUV | 100, 74.9, 0, 0 |
Web Safe | 0033ff |
RGB percent of color #0040ff
CMYK percent of color #0040ff
Text with hexadecimal color #0040ff
This text has a font color of #0040ff
<p style="color:#0040ff">Text here</p>
#0040ff Background Color
This box has a background color of #0040ff
<div style="background-color:#0040ff">Text here</div>
#0040ff Border Color
This box has a border color of #0040ff
<div style="border: 4px solid #0040ff">Text here</div>
CSS codes
<p style="color:#0040ff">Text here</p>
<div style="background-color:#0040ff">Text here</div>
<div style="border: 4px solid #0040ff">Text here</div>
#0040ff Color on white background
This is how a font and box color of #0040ff will look
on a white background.
#0040ff Color on black background
This is how a font and box color of #0040ff hex color will look
on a black background.