In RGB color space, #7842c2 hex color has a red value of 120, a green value of 66 and a blue value of 194.
In CMYK color space (used in color printing), #7842c2 hex color is composed of 38.14% cyan, 65.98% magenta, 0% yellow and 23.92% black.
#7842c2 color has a hue of 265.3 degrees, a saturation of 51.2% and a lightness of 51%.
#7842c2 hex color contains mainly BLUE.
The closest web safe color of #7842c2 is #6633cc
#7842c2 hex color has a decimal value of 7881410.
HEX | 7842c2 | #7842c2 |
---|---|---|
RGB | 120, 66, 194 | rgb(120, 66, 194) |
RGB Percent | 47.06, 25.88, 76.08 | rgb(47.06, 25.88, 76.08) |
CMYK | 38, 66, 0, 24 | |
HSL | 265.3°, 51.2, 51 | hsl(265.3, 51.2%, 51%) |
HSV | 265.3°, 66, 76.1 |
XYZ | 19.432, 11.785, 52.289 |
---|---|
Hunter Lab | 34.329, 40.963, -66.278 |
CIE-LAB | 40.872, 49.413, -58.564 |
CIE-LCH | 40.872, 76.625, 310.156 |
CIE-LUV | 38.14, 65.98, 0, 23.92 |
Web Safe | 6633cc |
RGB percent of color #7842c2
CMYK percent of color #7842c2
Text with hexadecimal color #7842c2
This text has a font color of #7842c2
<p style="color:#7842c2">Text here</p>
#7842c2 Background Color
This box has a background color of #7842c2
<div style="background-color:#7842c2">Text here</div>
#7842c2 Border Color
This box has a border color of #7842c2
<div style="border: 4px solid #7842c2">Text here</div>
CSS codes
<p style="color:#7842c2">Text here</p>
<div style="background-color:#7842c2">Text here</div>
<div style="border: 4px solid #7842c2">Text here</div>
#7842c2 Color on white background
This is how a font and box color of #7842c2 will look
on a white background.
#7842c2 Color on black background
This is how a font and box color of #7842c2 hex color will look
on a black background.