In RGB color space, #6842d6 hex color has a red value of 104, a green value of 66 and a blue value of 214.
In CMYK color space (used in color printing), #6842d6 hex color is composed of 51.4% cyan, 69.16% magenta, 0% yellow and 16.08% black.
#6842d6 color has a hue of 255.4 degrees, a saturation of 64.35% and a lightness of 54.9%.
#6842d6 hex color contains mainly BLUE.
The closest web safe color of #6842d6 is #6633cc
#6842d6 hex color has a decimal value of 6832854.
HEX | 6842d6 | #6842d6 |
---|---|---|
RGB | 104, 66, 214 | rgb(104, 66, 214) |
RGB Percent | 40.78, 25.88, 83.92 | rgb(40.78, 25.88, 83.92) |
CMYK | 51, 69, 0, 16 | |
HSL | 255.4°, 64.35, 54.9 | hsl(255.4, 64.35%, 54.9%) |
HSV | 255.4°, 69.2, 83.9 |
XYZ | 19.795, 11.695, 64.832 |
---|---|
Hunter Lab | 34.198, 43.476, -88.463 |
CIE-LAB | 40.727, 51.862, -70.451 |
CIE-LCH | 40.727, 87.481, 306.358 |
CIE-LUV | 51.4, 69.16, 0, 16.08 |
Web Safe | 6633cc |
RGB percent of color #6842d6
CMYK percent of color #6842d6
Text with hexadecimal color #6842d6
This text has a font color of #6842d6
<p style="color:#6842d6">Text here</p>
#6842d6 Background Color
This box has a background color of #6842d6
<div style="background-color:#6842d6">Text here</div>
#6842d6 Border Color
This box has a border color of #6842d6
<div style="border: 4px solid #6842d6">Text here</div>
CSS codes
<p style="color:#6842d6">Text here</p>
<div style="background-color:#6842d6">Text here</div>
<div style="border: 4px solid #6842d6">Text here</div>
#6842d6 Color on white background
This is how a font and box color of #6842d6 will look
on a white background.
#6842d6 Color on black background
This is how a font and box color of #6842d6 hex color will look
on a black background.