In RGB color space, #2040f2 hex color has a red value of 32, a green value of 64 and a blue value of 242.
In CMYK color space (used in color printing), #2040f2 hex color is composed of 86.78% cyan, 73.55% magenta, 0% yellow and 5.1% black.
#2040f2 color has a hue of 230.9 degrees, a saturation of 88.98% and a lightness of 53.7%.
#2040f2 hex color contains mainly BLUE.
The closest web safe color of #2040f2 is #3333ff
#2040f2 hex color has a decimal value of 2113778.
HEX | 2040f2 | #2040f2 |
---|---|---|
RGB | 32, 64, 242 | rgb(32, 64, 242) |
RGB Percent | 12.55, 25.1, 94.9 | rgb(12.55, 25.1, 94.9) |
CMYK | 87, 74, 0, 5 | |
HSL | 230.9°, 88.98, 53.7 | hsl(230.9, 88.98%, 53.7%) |
HSV | 230.9°, 86.8, 94.9 |
XYZ | 18.456, 10.385, 85.036 |
---|---|
Hunter Lab | 32.226, 45.834, -133.894 |
CIE-LAB | 38.525, 54.516, -90.173 |
CIE-LCH | 38.525, 105.372, 301.156 |
CIE-LUV | 86.78, 73.55, 0, 5.1 |
Web Safe | 3333ff |
RGB percent of color #2040f2
CMYK percent of color #2040f2
Text with hexadecimal color #2040f2
This text has a font color of #2040f2
<p style="color:#2040f2">Text here</p>
#2040f2 Background Color
This box has a background color of #2040f2
<div style="background-color:#2040f2">Text here</div>
#2040f2 Border Color
This box has a border color of #2040f2
<div style="border: 4px solid #2040f2">Text here</div>
CSS codes
<p style="color:#2040f2">Text here</p>
<div style="background-color:#2040f2">Text here</div>
<div style="border: 4px solid #2040f2">Text here</div>
#2040f2 Color on white background
This is how a font and box color of #2040f2 will look
on a white background.
#2040f2 Color on black background
This is how a font and box color of #2040f2 hex color will look
on a black background.