In RGB color space, #4040d6 hex color has a red value of 64, a green value of 64 and a blue value of 214.
In CMYK color space (used in color printing), #4040d6 hex color is composed of 70.09% cyan, 70.09% magenta, 0% yellow and 16.08% black.
#4040d6 color has a hue of 240 degrees, a saturation of 64.66% and a lightness of 54.5%.
#4040d6 hex color contains mainly BLUE.
The closest web safe color of #4040d6 is #3333cc
#4040d6 hex color has a decimal value of 4210902.
HEX | 4040d6 | #4040d6 |
---|---|---|
RGB | 64, 64, 214 | rgb(64, 64, 214) |
RGB Percent | 25.1, 25.1, 83.92 | rgb(25.1, 25.1, 83.92) |
CMYK | 70, 70, 0, 16 | |
HSL | 240°, 64.66, 54.5 | hsl(240, 64.66%, 54.5%) |
HSV | 240°, 70.1, 83.9 |
XYZ | 16.085, 9.612, 64.626 |
---|---|
Hunter Lab | 31.003, 38.353, -101.887 |
CIE-LAB | 37.137, 47.527, -76.463 |
CIE-LCH | 37.137, 90.03, 301.864 |
CIE-LUV | 70.09, 70.09, 0, 16.08 |
Web Safe | 3333cc |
RGB percent of color #4040d6
CMYK percent of color #4040d6
Text with hexadecimal color #4040d6
This text has a font color of #4040d6
<p style="color:#4040d6">Text here</p>
#4040d6 Background Color
This box has a background color of #4040d6
<div style="background-color:#4040d6">Text here</div>
#4040d6 Border Color
This box has a border color of #4040d6
<div style="border: 4px solid #4040d6">Text here</div>
CSS codes
<p style="color:#4040d6">Text here</p>
<div style="background-color:#4040d6">Text here</div>
<div style="border: 4px solid #4040d6">Text here</div>
#4040d6 Color on white background
This is how a font and box color of #4040d6 will look
on a white background.
#4040d6 Color on black background
This is how a font and box color of #4040d6 hex color will look
on a black background.