In RGB color space, #4040dc hex color has a red value of 64, a green value of 64 and a blue value of 220.
In CMYK color space (used in color printing), #4040dc hex color is composed of 70.91% cyan, 70.91% magenta, 0% yellow and 13.73% black.
#4040dc color has a hue of 240 degrees, a saturation of 69.03% and a lightness of 55.7%.
#4040dc hex color contains mainly BLUE.
The closest web safe color of #4040dc is #3333cc
#4040dc hex color has a decimal value of 4210908.
HEX | 4040dc | #4040dc |
---|---|---|
RGB | 64, 64, 220 | rgb(64, 64, 220) |
RGB Percent | 25.1, 25.1, 86.27 | rgb(25.1, 25.1, 86.27) |
CMYK | 71, 71, 0, 14 | |
HSL | 240°, 69.03, 55.7 | hsl(240, 69.03%, 55.7%) |
HSV | 240°, 70.9, 86.3 |
XYZ | 16.866, 9.924, 68.737 |
---|---|
Hunter Lab | 31.502, 40.438, -107.317 |
CIE-LAB | 37.706, 49.481, -78.974 |
CIE-LCH | 37.706, 93.195, 302.069 |
CIE-LUV | 70.91, 70.91, 0, 13.73 |
Web Safe | 3333cc |
RGB percent of color #4040dc
CMYK percent of color #4040dc
Text with hexadecimal color #4040dc
This text has a font color of #4040dc
<p style="color:#4040dc">Text here</p>
#4040dc Background Color
This box has a background color of #4040dc
<div style="background-color:#4040dc">Text here</div>
#4040dc Border Color
This box has a border color of #4040dc
<div style="border: 4px solid #4040dc">Text here</div>
CSS codes
<p style="color:#4040dc">Text here</p>
<div style="background-color:#4040dc">Text here</div>
<div style="border: 4px solid #4040dc">Text here</div>
#4040dc Color on white background
This is how a font and box color of #4040dc will look
on a white background.
#4040dc Color on black background
This is how a font and box color of #4040dc hex color will look
on a black background.