In RGB color space, #4040e5 hex color has a red value of 64, a green value of 64 and a blue value of 229.
In CMYK color space (used in color printing), #4040e5 hex color is composed of 72.05% cyan, 72.05% magenta, 0% yellow and 10.2% black.
#4040e5 color has a hue of 240 degrees, a saturation of 76.04% and a lightness of 57.5%.
#4040e5 hex color contains mainly BLUE.
The closest web safe color of #4040e5 is #3333cc
#4040e5 hex color has a decimal value of 4210917.
HEX | 4040e5 | #4040e5 |
---|---|---|
RGB | 64, 64, 229 | rgb(64, 64, 229) |
RGB Percent | 25.1, 25.1, 89.8 | rgb(25.1, 25.1, 89.8) |
CMYK | 72, 72, 0, 10 | |
HSL | 240°, 76.04, 57.5 | hsl(240, 76.04%, 57.5%) |
HSV | 240°, 72.1, 89.8 |
XYZ | 18.091, 10.414, 75.185 |
---|---|
Hunter Lab | 32.271, 43.593, -115.546 |
CIE-LAB | 38.575, 52.376, -82.679 |
CIE-LCH | 38.575, 97.873, 302.354 |
CIE-LUV | 72.05, 72.05, 0, 10.2 |
Web Safe | 3333cc |
RGB percent of color #4040e5
CMYK percent of color #4040e5
Text with hexadecimal color #4040e5
This text has a font color of #4040e5
<p style="color:#4040e5">Text here</p>
#4040e5 Background Color
This box has a background color of #4040e5
<div style="background-color:#4040e5">Text here</div>
#4040e5 Border Color
This box has a border color of #4040e5
<div style="border: 4px solid #4040e5">Text here</div>
CSS codes
<p style="color:#4040e5">Text here</p>
<div style="background-color:#4040e5">Text here</div>
<div style="border: 4px solid #4040e5">Text here</div>
#4040e5 Color on white background
This is how a font and box color of #4040e5 will look
on a white background.
#4040e5 Color on black background
This is how a font and box color of #4040e5 hex color will look
on a black background.