In RGB color space, #6840c5 hex color has a red value of 104, a green value of 64 and a blue value of 197.
In CMYK color space (used in color printing), #6840c5 hex color is composed of 47.21% cyan, 67.51% magenta, 0% yellow and 22.75% black.
#6840c5 color has a hue of 258 degrees, a saturation of 53.41% and a lightness of 51.2%.
#6840c5 hex color contains mainly BLUE.
The closest web safe color of #6840c5 is #6633cc
#6840c5 hex color has a decimal value of 6832325.
HEX | 6840c5 | #6840c5 |
---|---|---|
RGB | 104, 64, 197 | rgb(104, 64, 197) |
RGB Percent | 40.78, 25.1, 77.25 | rgb(40.78, 25.1, 77.25) |
CMYK | 47, 68, 0, 23 | |
HSL | 258°, 53.41, 51.2 | hsl(258, 53.41%, 51.2%) |
HSV | 258°, 67.5, 77.3 |
XYZ | 17.62, 10.641, 53.949 |
---|---|
Hunter Lab | 32.621, 39.331, -75.221 |
CIE-LAB | 38.969, 48.161, -63.486 |
CIE-LCH | 38.969, 79.687, 307.184 |
CIE-LUV | 47.21, 67.51, 0, 22.75 |
Web Safe | 6633cc |
RGB percent of color #6840c5
CMYK percent of color #6840c5
Text with hexadecimal color #6840c5
This text has a font color of #6840c5
<p style="color:#6840c5">Text here</p>
#6840c5 Background Color
This box has a background color of #6840c5
<div style="background-color:#6840c5">Text here</div>
#6840c5 Border Color
This box has a border color of #6840c5
<div style="border: 4px solid #6840c5">Text here</div>
CSS codes
<p style="color:#6840c5">Text here</p>
<div style="background-color:#6840c5">Text here</div>
<div style="border: 4px solid #6840c5">Text here</div>
#6840c5 Color on white background
This is how a font and box color of #6840c5 will look
on a white background.
#6840c5 Color on black background
This is how a font and box color of #6840c5 hex color will look
on a black background.