In RGB color space, #2040c4 hex color has a red value of 32, a green value of 64 and a blue value of 196.
In CMYK color space (used in color printing), #2040c4 hex color is composed of 83.67% cyan, 67.35% magenta, 0% yellow and 23.14% black.
#2040c4 color has a hue of 228.3 degrees, a saturation of 71.93% and a lightness of 44.7%.
#2040c4 hex color contains mainly BLUE.
The closest web safe color of #2040c4 is #3333cc
#2040c4 hex color has a decimal value of 2113732.
HEX | 2040c4 | #2040c4 |
---|---|---|
RGB | 32, 64, 196 | rgb(32, 64, 196) |
RGB Percent | 12.55, 25.1, 76.86 | rgb(12.55, 25.1, 76.86) |
CMYK | 84, 67, 0, 23 | |
HSL | 228.3°, 71.93, 44.7 | hsl(228.3, 71.93%, 44.7%) |
HSV | 228.3°, 83.7, 76.9 |
XYZ | 12.393, 7.959, 53.108 |
---|---|
Hunter Lab | 28.212, 29.042, -91.864 |
CIE-LAB | 33.897, 38.467, -71.403 |
CIE-LCH | 33.897, 81.105, 298.313 |
CIE-LUV | 83.67, 67.35, 0, 23.14 |
Web Safe | 3333cc |
RGB percent of color #2040c4
CMYK percent of color #2040c4
Text with hexadecimal color #2040c4
This text has a font color of #2040c4
<p style="color:#2040c4">Text here</p>
#2040c4 Background Color
This box has a background color of #2040c4
<div style="background-color:#2040c4">Text here</div>
#2040c4 Border Color
This box has a border color of #2040c4
<div style="border: 4px solid #2040c4">Text here</div>
CSS codes
<p style="color:#2040c4">Text here</p>
<div style="background-color:#2040c4">Text here</div>
<div style="border: 4px solid #2040c4">Text here</div>
#2040c4 Color on white background
This is how a font and box color of #2040c4 will look
on a white background.
#2040c4 Color on black background
This is how a font and box color of #2040c4 hex color will look
on a black background.