In RGB color space, #6842b2 hex color has a red value of 104, a green value of 66 and a blue value of 178.
In CMYK color space (used in color printing), #6842b2 hex color is composed of 41.57% cyan, 62.92% magenta, 0% yellow and 30.2% black.
#6842b2 color has a hue of 260.4 degrees, a saturation of 45.9% and a lightness of 47.8%.
#6842b2 hex color contains mainly BLUE.
The closest web safe color of #6842b2 is #663399
#6842b2 hex color has a decimal value of 6832818.
HEX | 6842b2 | #6842b2 |
---|---|---|
RGB | 104, 66, 178 | rgb(104, 66, 178) |
RGB Percent | 40.78, 25.88, 69.8 | rgb(40.78, 25.88, 69.8) |
CMYK | 42, 63, 0, 30 | |
HSL | 260.4°, 45.9, 47.8 | hsl(260.4, 45.9%, 47.8%) |
HSV | 260.4°, 62.9, 69.8 |
XYZ | 15.693, 10.054, 43.233 |
---|---|
Hunter Lab | 31.708, 32.854, -58.645 |
CIE-LAB | 37.939, 41.804, -54.001 |
CIE-LCH | 37.939, 68.291, 307.745 |
CIE-LUV | 41.57, 62.92, 0, 30.2 |
Web Safe | 663399 |
RGB percent of color #6842b2
CMYK percent of color #6842b2
Text with hexadecimal color #6842b2
This text has a font color of #6842b2
<p style="color:#6842b2">Text here</p>
#6842b2 Background Color
This box has a background color of #6842b2
<div style="background-color:#6842b2">Text here</div>
#6842b2 Border Color
This box has a border color of #6842b2
<div style="border: 4px solid #6842b2">Text here</div>
CSS codes
<p style="color:#6842b2">Text here</p>
<div style="background-color:#6842b2">Text here</div>
<div style="border: 4px solid #6842b2">Text here</div>
#6842b2 Color on white background
This is how a font and box color of #6842b2 will look
on a white background.
#6842b2 Color on black background
This is how a font and box color of #6842b2 hex color will look
on a black background.