In RGB color space, #7942cb hex color has a red value of 121, a green value of 66 and a blue value of 203.
In CMYK color space (used in color printing), #7942cb hex color is composed of 40.39% cyan, 67.49% magenta, 0% yellow and 20.39% black.
#7942cb color has a hue of 264.1 degrees, a saturation of 56.85% and a lightness of 52.7%.
#7942cb hex color contains mainly BLUE.
The closest web safe color of #7942cb is #6633cc
#7942cb hex color has a decimal value of 7946955.
HEX | 7942cb | #7942cb |
---|---|---|
RGB | 121, 66, 203 | rgb(121, 66, 203) |
RGB Percent | 47.45, 25.88, 79.61 | rgb(47.45, 25.88, 79.61) |
CMYK | 40, 67, 0, 20 | |
HSL | 264.1°, 56.85, 52.7 | hsl(264.1, 56.85%, 52.7%) |
HSV | 264.1°, 67.5, 79.6 |
XYZ | 20.613, 12.273, 57.782 |
---|---|
Hunter Lab | 35.033, 43.72, -73.268 |
CIE-LAB | 41.647, 51.926, -62.532 |
CIE-LCH | 41.647, 81.281, 309.706 |
CIE-LUV | 40.39, 67.49, 0, 20.39 |
Web Safe | 6633cc |
RGB percent of color #7942cb
CMYK percent of color #7942cb
Text with hexadecimal color #7942cb
This text has a font color of #7942cb
<p style="color:#7942cb">Text here</p>
#7942cb Background Color
This box has a background color of #7942cb
<div style="background-color:#7942cb">Text here</div>
#7942cb Border Color
This box has a border color of #7942cb
<div style="border: 4px solid #7942cb">Text here</div>
CSS codes
<p style="color:#7942cb">Text here</p>
<div style="background-color:#7942cb">Text here</div>
<div style="border: 4px solid #7942cb">Text here</div>
#7942cb Color on white background
This is how a font and box color of #7942cb will look
on a white background.
#7942cb Color on black background
This is how a font and box color of #7942cb hex color will look
on a black background.