In RGB color space, #940ef2 hex color has a red value of 148, a green value of 14 and a blue value of 242.
In CMYK color space (used in color printing), #940ef2 hex color is composed of 38.84% cyan, 94.21% magenta, 0% yellow and 5.1% black.
#940ef2 color has a hue of 275.3 degrees, a saturation of 89.76% and a lightness of 50.2%.
#940ef2 hex color contains mainly BLUE.
The closest web safe color of #940ef2 is #9900ff
#940ef2 hex color has a decimal value of 9703154.
HEX | 940ef2 | #940ef2 |
---|---|---|
RGB | 148, 14, 242 | rgb(148, 14, 242) |
RGB Percent | 58.04, 5.49, 94.9 | rgb(58.04, 5.49, 94.9) |
CMYK | 39, 94, 0, 5 | |
HSL | 275.3°, 89.76, 50.2 | hsl(275.3, 89.76%, 50.2%) |
HSV | 275.3°, 94.2, 94.9 |
XYZ | 28.397, 13.021, 85.021 |
---|---|
Hunter Lab | 36.085, 77.324, -114.437 |
CIE-LAB | 42.795, 80.831, -82.799 |
CIE-LCH | 42.795, 115.712, 314.311 |
CIE-LUV | 38.84, 94.21, 0, 5.1 |
Web Safe | 9900ff |
RGB percent of color #940ef2
CMYK percent of color #940ef2
Text with hexadecimal color #940ef2
This text has a font color of #940ef2
<p style="color:#940ef2">Text here</p>
#940ef2 Background Color
This box has a background color of #940ef2
<div style="background-color:#940ef2">Text here</div>
#940ef2 Border Color
This box has a border color of #940ef2
<div style="border: 4px solid #940ef2">Text here</div>
CSS codes
<p style="color:#940ef2">Text here</p>
<div style="background-color:#940ef2">Text here</div>
<div style="border: 4px solid #940ef2">Text here</div>
#940ef2 Color on white background
This is how a font and box color of #940ef2 will look
on a white background.
#940ef2 Color on black background
This is how a font and box color of #940ef2 hex color will look
on a black background.