In RGB color space, #7942b0 hex color has a red value of 121, a green value of 66 and a blue value of 176.
In CMYK color space (used in color printing), #7942b0 hex color is composed of 31.25% cyan, 62.5% magenta, 0% yellow and 30.98% black.
#7942b0 color has a hue of 270 degrees, a saturation of 45.45% and a lightness of 47.5%.
#7942b0 hex color contains mainly BLUE.
The closest web safe color of #7942b0 is #663399
#7942b0 hex color has a decimal value of 7946928.
HEX | 7942b0 | #7942b0 |
---|---|---|
RGB | 121, 66, 176 | rgb(121, 66, 176) |
RGB Percent | 47.45, 25.88, 69.02 | rgb(47.45, 25.88, 69.02) |
CMYK | 31, 63, 0, 31 | |
HSL | 270°, 45.45, 47.5 | hsl(270, 45.45%, 47.5%) |
HSV | 270°, 62.5, 69 |
XYZ | 17.67, 11.096, 42.285 |
---|---|
Hunter Lab | 33.311, 36.394, -51.946 |
CIE-LAB | 39.742, 45.1, -49.81 |
CIE-LCH | 39.742, 67.194, 312.159 |
CIE-LUV | 31.25, 62.5, 0, 30.98 |
Web Safe | 663399 |
RGB percent of color #7942b0
CMYK percent of color #7942b0
Text with hexadecimal color #7942b0
This text has a font color of #7942b0
<p style="color:#7942b0">Text here</p>
#7942b0 Background Color
This box has a background color of #7942b0
<div style="background-color:#7942b0">Text here</div>
#7942b0 Border Color
This box has a border color of #7942b0
<div style="border: 4px solid #7942b0">Text here</div>
CSS codes
<p style="color:#7942b0">Text here</p>
<div style="background-color:#7942b0">Text here</div>
<div style="border: 4px solid #7942b0">Text here</div>
#7942b0 Color on white background
This is how a font and box color of #7942b0 will look
on a white background.
#7942b0 Color on black background
This is how a font and box color of #7942b0 hex color will look
on a black background.