In RGB color space, #342040 hex color has a red value of 52, a green value of 32 and a blue value of 64.
In CMYK color space (used in color printing), #342040 hex color is composed of 18.75% cyan, 50% magenta, 0% yellow and 74.9% black.
#342040 color has a hue of 277.5 degrees, a saturation of 33.33% and a lightness of 18.8%.
#342040 hex color contains mainly BLUE.
The closest web safe color of #342040 is #333333
#342040 hex color has a decimal value of 3416128.
HEX | 342040 | #342040 |
---|---|---|
RGB | 52, 32, 64 | rgb(52, 32, 64) |
RGB Percent | 20.39, 12.55, 25.1 | rgb(20.39, 12.55, 25.1) |
CMYK | 19, 50, 0, 75 | |
HSL | 277.5°, 33.33, 18.8 | hsl(277.5, 33.33%, 18.8%) |
HSV | 277.5°, 50, 25.1 |
XYZ | 2.858, 2.133, 5.112 |
---|---|
Hunter Lab | 14.605, 9.372, -10.529 |
CIE-LAB | 16.17, 16.816, -16.685 |
CIE-LCH | 16.17, 23.689, 315.224 |
CIE-LUV | 18.75, 50, 0, 74.9 |
Web Safe | 333333 |
RGB percent of color #342040
CMYK percent of color #342040
Text with hexadecimal color #342040
This text has a font color of #342040
<p style="color:#342040">Text here</p>
#342040 Background Color
This box has a background color of #342040
<div style="background-color:#342040">Text here</div>
#342040 Border Color
This box has a border color of #342040
<div style="border: 4px solid #342040">Text here</div>
CSS codes
<p style="color:#342040">Text here</p>
<div style="background-color:#342040">Text here</div>
<div style="border: 4px solid #342040">Text here</div>
#342040 Color on white background
This is how a font and box color of #342040 will look
on a white background.
#342040 Color on black background
This is how a font and box color of #342040 hex color will look
on a black background.