In RGB color space, #2040af hex color has a red value of 32, a green value of 64 and a blue value of 175.
In CMYK color space (used in color printing), #2040af hex color is composed of 81.71% cyan, 63.43% magenta, 0% yellow and 31.37% black.
#2040af color has a hue of 226.6 degrees, a saturation of 69.08% and a lightness of 40.6%.
#2040af hex color contains mainly BLUE.
The closest web safe color of #2040af is #333399
#2040af hex color has a decimal value of 2113711.
HEX | 2040af | #2040af |
---|---|---|
RGB | 32, 64, 175 | rgb(32, 64, 175) |
RGB Percent | 12.55, 25.1, 68.63 | rgb(12.55, 25.1, 68.63) |
CMYK | 82, 63, 0, 31 | |
HSL | 226.6°, 69.08, 40.6 | hsl(226.6, 69.08%, 40.6%) |
HSV | 226.6°, 81.7, 68.6 |
XYZ | 10.167, 7.069, 41.386 |
---|---|
Hunter Lab | 26.588, 21.729, -73.679 |
CIE-LAB | 31.963, 30.61, -62.18 |
CIE-LCH | 31.963, 69.306, 296.21 |
CIE-LUV | 81.71, 63.43, 0, 31.37 |
Web Safe | 333399 |
RGB percent of color #2040af
CMYK percent of color #2040af
Text with hexadecimal color #2040af
This text has a font color of #2040af
<p style="color:#2040af">Text here</p>
#2040af Background Color
This box has a background color of #2040af
<div style="background-color:#2040af">Text here</div>
#2040af Border Color
This box has a border color of #2040af
<div style="border: 4px solid #2040af">Text here</div>
CSS codes
<p style="color:#2040af">Text here</p>
<div style="background-color:#2040af">Text here</div>
<div style="border: 4px solid #2040af">Text here</div>
#2040af Color on white background
This is how a font and box color of #2040af will look
on a white background.
#2040af Color on black background
This is how a font and box color of #2040af hex color will look
on a black background.