In RGB color space, #6842b9 hex color has a red value of 104, a green value of 66 and a blue value of 185.
In CMYK color space (used in color printing), #6842b9 hex color is composed of 43.78% cyan, 64.32% magenta, 0% yellow and 27.45% black.
#6842b9 color has a hue of 259.2 degrees, a saturation of 47.41% and a lightness of 49.2%.
#6842b9 hex color contains mainly BLUE.
The closest web safe color of #6842b9 is #6633cc
#6842b9 hex color has a decimal value of 6832825.
HEX | 6842b9 | #6842b9 |
---|---|---|
RGB | 104, 66, 185 | rgb(104, 66, 185) |
RGB Percent | 40.78, 25.88, 72.55 | rgb(40.78, 25.88, 72.55) |
CMYK | 44, 64, 0, 27 | |
HSL | 259.2°, 47.41, 49.2 | hsl(259.2, 47.41%, 49.2%) |
HSV | 259.2°, 64.3, 72.5 |
XYZ | 16.414, 10.342, 47.03 |
---|---|
Hunter Lab | 32.159, 34.828, -64.196 |
CIE-LAB | 38.449, 43.743, -57.304 |
CIE-LCH | 38.449, 72.092, 307.356 |
CIE-LUV | 43.78, 64.32, 0, 27.45 |
Web Safe | 6633cc |
RGB percent of color #6842b9
CMYK percent of color #6842b9
Text with hexadecimal color #6842b9
This text has a font color of #6842b9
<p style="color:#6842b9">Text here</p>
#6842b9 Background Color
This box has a background color of #6842b9
<div style="background-color:#6842b9">Text here</div>
#6842b9 Border Color
This box has a border color of #6842b9
<div style="border: 4px solid #6842b9">Text here</div>
CSS codes
<p style="color:#6842b9">Text here</p>
<div style="background-color:#6842b9">Text here</div>
<div style="border: 4px solid #6842b9">Text here</div>
#6842b9 Color on white background
This is how a font and box color of #6842b9 will look
on a white background.
#6842b9 Color on black background
This is how a font and box color of #6842b9 hex color will look
on a black background.