In RGB color space, #940cb4 hex color has a red value of 148, a green value of 12 and a blue value of 180.
In CMYK color space (used in color printing), #940cb4 hex color is composed of 17.78% cyan, 93.33% magenta, 0% yellow and 29.41% black.
#940cb4 color has a hue of 288.6 degrees, a saturation of 87.5% and a lightness of 37.6%.
#940cb4 hex color contains mainly BLUE.
The closest web safe color of #940cb4 is #9900cc
#940cb4 hex color has a decimal value of 9702580.
HEX | 940cb4 | #940cb4 |
---|---|---|
RGB | 148, 12, 180 | rgb(148, 12, 180) |
RGB Percent | 58.04, 4.71, 70.59 | rgb(58.04, 4.71, 70.59) |
CMYK | 18, 93, 0, 29 | |
HSL | 288.6°, 87.5, 37.6 | hsl(288.6, 87.5%, 37.6%) |
HSV | 288.6°, 93.3, 70.6 |
XYZ | 20.582, 9.854, 43.997 |
---|---|
Hunter Lab | 31.391, 62.102, -61.126 |
CIE-LAB | 37.579, 69.308, -55.482 |
CIE-LCH | 37.579, 88.78, 321.322 |
CIE-LUV | 17.78, 93.33, 0, 29.41 |
Web Safe | 9900cc |
RGB percent of color #940cb4
CMYK percent of color #940cb4
Text with hexadecimal color #940cb4
This text has a font color of #940cb4
<p style="color:#940cb4">Text here</p>
#940cb4 Background Color
This box has a background color of #940cb4
<div style="background-color:#940cb4">Text here</div>
#940cb4 Border Color
This box has a border color of #940cb4
<div style="border: 4px solid #940cb4">Text here</div>
CSS codes
<p style="color:#940cb4">Text here</p>
<div style="background-color:#940cb4">Text here</div>
<div style="border: 4px solid #940cb4">Text here</div>
#940cb4 Color on white background
This is how a font and box color of #940cb4 will look
on a white background.
#940cb4 Color on black background
This is how a font and box color of #940cb4 hex color will look
on a black background.