In RGB color space, #9a42d2 hex color has a red value of 154, a green value of 66 and a blue value of 210.
In CMYK color space (used in color printing), #9a42d2 hex color is composed of 26.67% cyan, 68.57% magenta, 0% yellow and 17.65% black.
#9a42d2 color has a hue of 276.7 degrees, a saturation of 61.54% and a lightness of 54.1%.
#9a42d2 hex color contains mainly BLUE.
The closest web safe color of #9a42d2 is #9933cc
#9a42d2 hex color has a decimal value of 10109650.
HEX | 9a42d2 | #9a42d2 |
---|---|---|
RGB | 154, 66, 210 | rgb(154, 66, 210) |
RGB Percent | 60.39, 25.88, 82.35 | rgb(60.39, 25.88, 82.35) |
CMYK | 27, 69, 0, 18 | |
HSL | 276.7°, 61.54, 54.1 | hsl(276.7, 61.54%, 54.1%) |
HSV | 276.7°, 68.6, 82.4 |
XYZ | 26.907, 15.42, 62.531 |
---|---|
Hunter Lab | 39.268, 53.59, -66.926 |
CIE-LAB | 46.204, 60.185, -58.994 |
CIE-LCH | 46.204, 84.276, 315.573 |
CIE-LUV | 26.67, 68.57, 0, 17.65 |
Web Safe | 9933cc |
RGB percent of color #9a42d2
CMYK percent of color #9a42d2
Text with hexadecimal color #9a42d2
This text has a font color of #9a42d2
<p style="color:#9a42d2">Text here</p>
#9a42d2 Background Color
This box has a background color of #9a42d2
<div style="background-color:#9a42d2">Text here</div>
#9a42d2 Border Color
This box has a border color of #9a42d2
<div style="border: 4px solid #9a42d2">Text here</div>
CSS codes
<p style="color:#9a42d2">Text here</p>
<div style="background-color:#9a42d2">Text here</div>
<div style="border: 4px solid #9a42d2">Text here</div>
#9a42d2 Color on white background
This is how a font and box color of #9a42d2 will look
on a white background.
#9a42d2 Color on black background
This is how a font and box color of #9a42d2 hex color will look
on a black background.