In RGB color space, #7f42d0 hex color has a red value of 127, a green value of 66 and a blue value of 208.
In CMYK color space (used in color printing), #7f42d0 hex color is composed of 38.94% cyan, 68.27% magenta, 0% yellow and 18.43% black.
#7f42d0 color has a hue of 265.8 degrees, a saturation of 60.17% and a lightness of 53.7%.
#7f42d0 hex color contains mainly BLUE.
The closest web safe color of #7f42d0 is #6633cc
#7f42d0 hex color has a decimal value of 8340176.
HEX | 7f42d0 | #7f42d0 |
---|---|---|
RGB | 127, 66, 208 | rgb(127, 66, 208) |
RGB Percent | 49.8, 25.88, 81.57 | rgb(49.8, 25.88, 81.57) |
CMYK | 39, 68, 0, 18 | |
HSL | 265.8°, 60.17, 53.7 | hsl(265.8, 60.17%, 53.7%) |
HSV | 265.8°, 68.3, 81.6 |
XYZ | 22.086, 12.963, 61.012 |
---|---|
Hunter Lab | 36.004, 46.49, -75.269 |
CIE-LAB | 42.707, 54.345, -63.665 |
CIE-LCH | 42.707, 83.706, 310.484 |
CIE-LUV | 38.94, 68.27, 0, 18.43 |
Web Safe | 6633cc |
RGB percent of color #7f42d0
CMYK percent of color #7f42d0
Text with hexadecimal color #7f42d0
This text has a font color of #7f42d0
<p style="color:#7f42d0">Text here</p>
#7f42d0 Background Color
This box has a background color of #7f42d0
<div style="background-color:#7f42d0">Text here</div>
#7f42d0 Border Color
This box has a border color of #7f42d0
<div style="border: 4px solid #7f42d0">Text here</div>
CSS codes
<p style="color:#7f42d0">Text here</p>
<div style="background-color:#7f42d0">Text here</div>
<div style="border: 4px solid #7f42d0">Text here</div>
#7f42d0 Color on white background
This is how a font and box color of #7f42d0 will look
on a white background.
#7f42d0 Color on black background
This is how a font and box color of #7f42d0 hex color will look
on a black background.