In RGB color space, #7942ff hex color has a red value of 121, a green value of 66 and a blue value of 255.
In CMYK color space (used in color printing), #7942ff hex color is composed of 52.55% cyan, 74.12% magenta, 0% yellow and 0% black.
#7942ff color has a hue of 257.5 degrees, a saturation of 100% and a lightness of 62.9%.
#7942ff hex color contains mainly BLUE.
The closest web safe color of #7942ff is #6633ff
#7942ff hex color has a decimal value of 7947007.
HEX | 7942ff | #7942ff |
---|---|---|
RGB | 121, 66, 255 | rgb(121, 66, 255) |
RGB Percent | 47.45, 25.88, 100 | rgb(47.45, 25.88, 100) |
CMYK | 53, 74, 0, 0 | |
HSL | 257.5°, 100, 62.9 | hsl(257.5, 100%, 62.9%) |
HSV | 257.5°, 74.1, 100 |
XYZ | 27.883, 15.181, 96.068 |
---|---|
Hunter Lab | 38.963, 59.555, -118.913 |
CIE-LAB | 45.881, 65.5, -85.132 |
CIE-LCH | 45.881, 107.414, 307.574 |
CIE-LUV | 52.55, 74.12, 0, 0 |
Web Safe | 6633ff |
RGB percent of color #7942ff
CMYK percent of color #7942ff
Text with hexadecimal color #7942ff
This text has a font color of #7942ff
<p style="color:#7942ff">Text here</p>
#7942ff Background Color
This box has a background color of #7942ff
<div style="background-color:#7942ff">Text here</div>
#7942ff Border Color
This box has a border color of #7942ff
<div style="border: 4px solid #7942ff">Text here</div>
CSS codes
<p style="color:#7942ff">Text here</p>
<div style="background-color:#7942ff">Text here</div>
<div style="border: 4px solid #7942ff">Text here</div>
#7942ff Color on white background
This is how a font and box color of #7942ff will look
on a white background.
#7942ff Color on black background
This is how a font and box color of #7942ff hex color will look
on a black background.