In RGB color space, #940ef8 hex color has a red value of 148, a green value of 14 and a blue value of 248.
In CMYK color space (used in color printing), #940ef8 hex color is composed of 40.32% cyan, 94.35% magenta, 0% yellow and 2.75% black.
#940ef8 color has a hue of 274.4 degrees, a saturation of 94.35% and a lightness of 51.4%.
#940ef8 hex color contains mainly BLUE.
The closest web safe color of #940ef8 is #9900ff
#940ef8 hex color has a decimal value of 9703160.
HEX | 940ef8 | #940ef8 |
---|---|---|
RGB | 148, 14, 248 | rgb(148, 14, 248) |
RGB Percent | 58.04, 5.49, 97.25 | rgb(58.04, 5.49, 97.25) |
CMYK | 40, 94, 0, 3 | |
HSL | 274.4°, 94.35, 51.4 | hsl(274.4, 94.35%, 51.4%) |
HSV | 274.4°, 94.4, 97.3 |
XYZ | 29.313, 13.387, 89.846 |
---|---|
Hunter Lab | 36.588, 78.977, -119.981 |
CIE-LAB | 43.341, 82.035, -85.278 |
CIE-LCH | 43.341, 118.33, 313.89 |
CIE-LUV | 40.32, 94.35, 0, 2.75 |
Web Safe | 9900ff |
RGB percent of color #940ef8
CMYK percent of color #940ef8
Text with hexadecimal color #940ef8
This text has a font color of #940ef8
<p style="color:#940ef8">Text here</p>
#940ef8 Background Color
This box has a background color of #940ef8
<div style="background-color:#940ef8">Text here</div>
#940ef8 Border Color
This box has a border color of #940ef8
<div style="border: 4px solid #940ef8">Text here</div>
CSS codes
<p style="color:#940ef8">Text here</p>
<div style="background-color:#940ef8">Text here</div>
<div style="border: 4px solid #940ef8">Text here</div>
#940ef8 Color on white background
This is how a font and box color of #940ef8 will look
on a white background.
#940ef8 Color on black background
This is how a font and box color of #940ef8 hex color will look
on a black background.