In RGB color space, #9f42d8 hex color has a red value of 159, a green value of 66 and a blue value of 216.
In CMYK color space (used in color printing), #9f42d8 hex color is composed of 26.39% cyan, 69.44% magenta, 0% yellow and 15.29% black.
#9f42d8 color has a hue of 277.2 degrees, a saturation of 65.79% and a lightness of 55.3%.
#9f42d8 hex color contains mainly BLUE.
The closest web safe color of #9f42d8 is #9933cc
#9f42d8 hex color has a decimal value of 10437336.
HEX | 9f42d8 | #9f42d8 |
---|---|---|
RGB | 159, 66, 216 | rgb(159, 66, 216) |
RGB Percent | 62.35, 25.88, 84.71 | rgb(62.35, 25.88, 84.71) |
CMYK | 26, 69, 0, 15 | |
HSL | 277.2°, 65.79, 55.3 | hsl(277.2, 65.79%, 55.3%) |
HSV | 277.2°, 69.4, 84.7 |
XYZ | 28.641, 16.225, 66.588 |
---|---|
Hunter Lab | 40.28, 56.431, -69.817 |
CIE-LAB | 47.268, 62.504, -60.679 |
CIE-LCH | 47.268, 87.113, 315.849 |
CIE-LUV | 26.39, 69.44, 0, 15.29 |
Web Safe | 9933cc |
RGB percent of color #9f42d8
CMYK percent of color #9f42d8
Text with hexadecimal color #9f42d8
This text has a font color of #9f42d8
<p style="color:#9f42d8">Text here</p>
#9f42d8 Background Color
This box has a background color of #9f42d8
<div style="background-color:#9f42d8">Text here</div>
#9f42d8 Border Color
This box has a border color of #9f42d8
<div style="border: 4px solid #9f42d8">Text here</div>
CSS codes
<p style="color:#9f42d8">Text here</p>
<div style="background-color:#9f42d8">Text here</div>
<div style="border: 4px solid #9f42d8">Text here</div>
#9f42d8 Color on white background
This is how a font and box color of #9f42d8 will look
on a white background.
#9f42d8 Color on black background
This is how a font and box color of #9f42d8 hex color will look
on a black background.