In RGB color space, #342540 hex color has a red value of 52, a green value of 37 and a blue value of 64.
In CMYK color space (used in color printing), #342540 hex color is composed of 18.75% cyan, 42.19% magenta, 0% yellow and 74.9% black.
#342540 color has a hue of 273.3 degrees, a saturation of 26.73% and a lightness of 19.8%.
#342540 hex color contains mainly BLUE.
The closest web safe color of #342540 is #333333
#342540 hex color has a decimal value of 3417408.
HEX | 342540 | #342540 |
---|---|---|
RGB | 52, 37, 64 | rgb(52, 37, 64) |
RGB Percent | 20.39, 14.51, 25.1 | rgb(20.39, 14.51, 25.1) |
CMYK | 19, 42, 0, 75 | |
HSL | 273.3°, 26.73, 19.8 | hsl(273.3, 26.73%, 19.8%) |
HSV | 273.3°, 42.2, 25.1 |
XYZ | 3.003, 2.423, 5.16 |
---|---|
Hunter Lab | 15.566, 7.196, -8.758 |
CIE-LAB | 17.567, 13.383, -14.502 |
CIE-LCH | 17.567, 19.734, 312.702 |
CIE-LUV | 18.75, 42.19, 0, 74.9 |
Web Safe | 333333 |
RGB percent of color #342540
CMYK percent of color #342540
Text with hexadecimal color #342540
This text has a font color of #342540
<p style="color:#342540">Text here</p>
#342540 Background Color
This box has a background color of #342540
<div style="background-color:#342540">Text here</div>
#342540 Border Color
This box has a border color of #342540
<div style="border: 4px solid #342540">Text here</div>
CSS codes
<p style="color:#342540">Text here</p>
<div style="background-color:#342540">Text here</div>
<div style="border: 4px solid #342540">Text here</div>
#342540 Color on white background
This is how a font and box color of #342540 will look
on a white background.
#342540 Color on black background
This is how a font and box color of #342540 hex color will look
on a black background.