In RGB color space, #042340 hex color has a red value of 4, a green value of 35 and a blue value of 64.
In CMYK color space (used in color printing), #042340 hex color is composed of 93.75% cyan, 45.31% magenta, 0% yellow and 74.9% black.
#042340 color has a hue of 209 degrees, a saturation of 88.24% and a lightness of 13.3%.
#042340 hex color contains mainly BLUE.
The closest web safe color of #042340 is #003333
#042340 hex color has a decimal value of 271168.
HEX | 042340 | #042340 |
---|---|---|
RGB | 4, 35, 64 | rgb(4, 35, 64) |
RGB Percent | 1.57, 13.73, 25.1 | rgb(1.57, 13.73, 25.1) |
CMYK | 94, 45, 0, 75 | |
HSL | 209°, 88.24, 13.3 | hsl(209, 88.24%, 13.3%) |
HSV | 209°, 93.8, 25.1 |
XYZ | 1.577, 1.598, 5.076 |
---|---|
Hunter Lab | 12.641, 0.146, -14.959 |
CIE-LAB | 13.218, 1.587, -21.605 |
CIE-LCH | 13.218, 21.663, 274.201 |
CIE-LUV | 93.75, 45.31, 0, 74.9 |
Web Safe | 003333 |
RGB percent of color #042340
CMYK percent of color #042340
Text with hexadecimal color #042340
This text has a font color of #042340
<p style="color:#042340">Text here</p>
#042340 Background Color
This box has a background color of #042340
<div style="background-color:#042340">Text here</div>
#042340 Border Color
This box has a border color of #042340
<div style="border: 4px solid #042340">Text here</div>
CSS codes
<p style="color:#042340">Text here</p>
<div style="background-color:#042340">Text here</div>
<div style="border: 4px solid #042340">Text here</div>
#042340 Color on white background
This is how a font and box color of #042340 will look
on a white background.
#042340 Color on black background
This is how a font and box color of #042340 hex color will look
on a black background.