In RGB color space, #340842 hex color has a red value of 52, a green value of 8 and a blue value of 66.
In CMYK color space (used in color printing), #340842 hex color is composed of 21.21% cyan, 87.88% magenta, 0% yellow and 74.12% black.
#340842 color has a hue of 285.5 degrees, a saturation of 78.38% and a lightness of 14.5%.
#340842 hex color contains mainly BLUE.
The closest web safe color of #340842 is #330033
#340842 hex color has a decimal value of 3409986.
HEX | 340842 | #340842 |
---|---|---|
RGB | 52, 8, 66 | rgb(52, 8, 66) |
RGB Percent | 20.39, 3.14, 25.88 | rgb(20.39, 3.14, 25.88) |
CMYK | 21, 88, 0, 74 | |
HSL | 285.5°, 78.38, 14.5 | hsl(285.5, 78.38%, 14.5%) |
HSV | 285.5°, 87.9, 25.9 |
XYZ | 2.486, 1.297, 5.274 |
---|---|
Hunter Lab | 11.389, 19.034, -19.485 |
CIE-LAB | 11.254, 30.943, -25.914 |
CIE-LCH | 11.254, 40.361, 320.055 |
CIE-LUV | 21.21, 87.88, 0, 74.12 |
Web Safe | 330033 |
RGB percent of color #340842
CMYK percent of color #340842
Text with hexadecimal color #340842
This text has a font color of #340842
<p style="color:#340842">Text here</p>
#340842 Background Color
This box has a background color of #340842
<div style="background-color:#340842">Text here</div>
#340842 Border Color
This box has a border color of #340842
<div style="border: 4px solid #340842">Text here</div>
CSS codes
<p style="color:#340842">Text here</p>
<div style="background-color:#340842">Text here</div>
<div style="border: 4px solid #340842">Text here</div>
#340842 Color on white background
This is how a font and box color of #340842 will look
on a white background.
#340842 Color on black background
This is how a font and box color of #340842 hex color will look
on a black background.