In RGB color space, #6840c2 hex color has a red value of 104, a green value of 64 and a blue value of 194.
In CMYK color space (used in color printing), #6840c2 hex color is composed of 46.39% cyan, 67.01% magenta, 0% yellow and 23.92% black.
#6840c2 color has a hue of 258.5 degrees, a saturation of 51.59% and a lightness of 50.6%.
#6840c2 hex color contains mainly BLUE.
The closest web safe color of #6840c2 is #6633cc
#6840c2 hex color has a decimal value of 6832322.
HEX | 6840c2 | #6840c2 |
---|---|---|
RGB | 104, 64, 194 | rgb(104, 64, 194) |
RGB Percent | 40.78, 25.1, 76.08 | rgb(40.78, 25.1, 76.08) |
CMYK | 46, 67, 0, 24 | |
HSL | 258.5°, 51.59, 50.6 | hsl(258.5, 51.59%, 50.6%) |
HSV | 258.5°, 67, 76.1 |
XYZ | 17.28, 10.505, 52.156 |
---|---|
Hunter Lab | 32.411, 38.446, -72.721 |
CIE-LAB | 38.734, 47.329, -62.118 |
CIE-LCH | 38.734, 78.094, 307.305 |
CIE-LUV | 46.39, 67.01, 0, 23.92 |
Web Safe | 6633cc |
RGB percent of color #6840c2
CMYK percent of color #6840c2
Text with hexadecimal color #6840c2
This text has a font color of #6840c2
<p style="color:#6840c2">Text here</p>
#6840c2 Background Color
This box has a background color of #6840c2
<div style="background-color:#6840c2">Text here</div>
#6840c2 Border Color
This box has a border color of #6840c2
<div style="border: 4px solid #6840c2">Text here</div>
CSS codes
<p style="color:#6840c2">Text here</p>
<div style="background-color:#6840c2">Text here</div>
<div style="border: 4px solid #6840c2">Text here</div>
#6840c2 Color on white background
This is how a font and box color of #6840c2 will look
on a white background.
#6840c2 Color on black background
This is how a font and box color of #6840c2 hex color will look
on a black background.