In RGB color space, #340ec6 hex color has a red value of 52, a green value of 14 and a blue value of 198.
In CMYK color space (used in color printing), #340ec6 hex color is composed of 73.74% cyan, 92.93% magenta, 0% yellow and 22.35% black.
#340ec6 color has a hue of 252.4 degrees, a saturation of 86.79% and a lightness of 41.6%.
#340ec6 hex color contains mainly BLUE.
The closest web safe color of #340ec6 is #3300cc
#340ec6 hex color has a decimal value of 3411654.
HEX | 340ec6 | #340ec6 |
---|---|---|
RGB | 52, 14, 198 | rgb(52, 14, 198) |
RGB Percent | 20.39, 5.49, 77.65 | rgb(20.39, 5.49, 77.65) |
CMYK | 74, 93, 0, 22 | |
HSL | 252.4°, 86.79, 41.6 | hsl(252.4, 86.79%, 41.6%) |
HSV | 252.4°, 92.9, 77.6 |
XYZ | 11.766, 5.121, 53.794 |
---|---|
Hunter Lab | 22.63, 53.207, -125.1 |
CIE-LAB | 27.077, 63.516, -83.838 |
CIE-LCH | 27.077, 105.181, 307.148 |
CIE-LUV | 73.74, 92.93, 0, 22.35 |
Web Safe | 3300cc |
RGB percent of color #340ec6
CMYK percent of color #340ec6
Text with hexadecimal color #340ec6
This text has a font color of #340ec6
<p style="color:#340ec6">Text here</p>
#340ec6 Background Color
This box has a background color of #340ec6
<div style="background-color:#340ec6">Text here</div>
#340ec6 Border Color
This box has a border color of #340ec6
<div style="border: 4px solid #340ec6">Text here</div>
CSS codes
<p style="color:#340ec6">Text here</p>
<div style="background-color:#340ec6">Text here</div>
<div style="border: 4px solid #340ec6">Text here</div>
#340ec6 Color on white background
This is how a font and box color of #340ec6 will look
on a white background.
#340ec6 Color on black background
This is how a font and box color of #340ec6 hex color will look
on a black background.