In RGB color space, #4040ff hex color has a red value of 64, a green value of 64 and a blue value of 255.
In CMYK color space (used in color printing), #4040ff hex color is composed of 74.9% cyan, 74.9% magenta, 0% yellow and 0% black.
#4040ff color has a hue of 240 degrees, a saturation of 100% and a lightness of 62.5%.
#4040ff hex color contains mainly BLUE.
The closest web safe color of #4040ff is #3333ff
#4040ff hex color has a decimal value of 4210943.
HEX | 4040ff | #4040ff |
---|---|---|
RGB | 64, 64, 255 | rgb(64, 64, 255) |
RGB Percent | 25.1, 25.1, 100 | rgb(25.1, 25.1, 100) |
CMYK | 75, 75, 0, 0 | |
HSL | 240°, 100, 62.5 | hsl(240, 100%, 62.5%) |
HSV | 240°, 74.9, 100 |
XYZ | 21.998, 11.977, 95.76 |
---|---|
Hunter Lab | 34.608, 52.898, -139.83 |
CIE-LAB | 41.18, 60.522, -93.033 |
CIE-LCH | 41.18, 110.987, 303.046 |
CIE-LUV | 74.9, 74.9, 0, 0 |
Web Safe | 3333ff |
RGB percent of color #4040ff
CMYK percent of color #4040ff
Text with hexadecimal color #4040ff
This text has a font color of #4040ff
<p style="color:#4040ff">Text here</p>
#4040ff Background Color
This box has a background color of #4040ff
<div style="background-color:#4040ff">Text here</div>
#4040ff Border Color
This box has a border color of #4040ff
<div style="border: 4px solid #4040ff">Text here</div>
CSS codes
<p style="color:#4040ff">Text here</p>
<div style="background-color:#4040ff">Text here</div>
<div style="border: 4px solid #4040ff">Text here</div>
#4040ff Color on white background
This is how a font and box color of #4040ff will look
on a white background.
#4040ff Color on black background
This is how a font and box color of #4040ff hex color will look
on a black background.