In RGB color space, #340242 hex color has a red value of 52, a green value of 2 and a blue value of 66.
In CMYK color space (used in color printing), #340242 hex color is composed of 21.21% cyan, 96.97% magenta, 0% yellow and 74.12% black.
#340242 color has a hue of 286.9 degrees, a saturation of 94.12% and a lightness of 13.3%.
#340242 hex color contains mainly BLUE.
The closest web safe color of #340242 is #330033
#340242 hex color has a decimal value of 3408450.
HEX | 340242 | #340242 |
---|---|---|
RGB | 52, 2, 66 | rgb(52, 2, 66) |
RGB Percent | 20.39, 0.78, 25.88 | rgb(20.39, 0.78, 25.88) |
CMYK | 21, 97, 0, 74 | |
HSL | 286.9°, 94.12, 13.3 | hsl(286.9, 94.12%, 13.3%) |
HSV | 286.9°, 97, 25.9 |
XYZ | 2.421, 1.167, 5.252 |
---|---|
Hunter Lab | 10.803, 21.099, -21.263 |
CIE-LAB | 10.312, 33.702, -27.438 |
CIE-LCH | 10.312, 43.459, 320.85 |
CIE-LUV | 21.21, 96.97, 0, 74.12 |
Web Safe | 330033 |
RGB percent of color #340242
CMYK percent of color #340242
Text with hexadecimal color #340242
This text has a font color of #340242
<p style="color:#340242">Text here</p>
#340242 Background Color
This box has a background color of #340242
<div style="background-color:#340242">Text here</div>
#340242 Border Color
This box has a border color of #340242
<div style="border: 4px solid #340242">Text here</div>
CSS codes
<p style="color:#340242">Text here</p>
<div style="background-color:#340242">Text here</div>
<div style="border: 4px solid #340242">Text here</div>
#340242 Color on white background
This is how a font and box color of #340242 will look
on a white background.
#340242 Color on black background
This is how a font and box color of #340242 hex color will look
on a black background.