In RGB color space, #9a42a8 hex color has a red value of 154, a green value of 66 and a blue value of 168.
In CMYK color space (used in color printing), #9a42a8 hex color is composed of 8.33% cyan, 60.71% magenta, 0% yellow and 34.12% black.
#9a42a8 color has a hue of 291.8 degrees, a saturation of 43.59% and a lightness of 45.9%.
#9a42a8 hex color contains mainly BLUE.
The closest web safe color of #9a42a8 is #993399
#9a42a8 hex color has a decimal value of 10109608.
HEX | 9a42a8 | #9a42a8 |
---|---|---|
RGB | 154, 66, 168 | rgb(154, 66, 168) |
RGB Percent | 60.39, 25.88, 65.88 | rgb(60.39, 25.88, 65.88) |
CMYK | 8, 61, 0, 34 | |
HSL | 291.8°, 43.59, 45.9 | hsl(291.8, 43.59%, 45.9%) |
HSV | 291.8°, 60.7, 65.9 |
XYZ | 22.343, 13.594, 38.492 |
---|---|
Hunter Lab | 36.87, 43.647, -36.089 |
CIE-LAB | 43.645, 51.492, -38.58 |
CIE-LCH | 43.645, 64.342, 323.158 |
CIE-LUV | 8.33, 60.71, 0, 34.12 |
Web Safe | 993399 |
RGB percent of color #9a42a8
CMYK percent of color #9a42a8
Text with hexadecimal color #9a42a8
This text has a font color of #9a42a8
<p style="color:#9a42a8">Text here</p>
#9a42a8 Background Color
This box has a background color of #9a42a8
<div style="background-color:#9a42a8">Text here</div>
#9a42a8 Border Color
This box has a border color of #9a42a8
<div style="border: 4px solid #9a42a8">Text here</div>
CSS codes
<p style="color:#9a42a8">Text here</p>
<div style="background-color:#9a42a8">Text here</div>
<div style="border: 4px solid #9a42a8">Text here</div>
#9a42a8 Color on white background
This is how a font and box color of #9a42a8 will look
on a white background.
#9a42a8 Color on black background
This is how a font and box color of #9a42a8 hex color will look
on a black background.