In RGB color space, #9840f4 hex color has a red value of 152, a green value of 64 and a blue value of 244.
In CMYK color space (used in color printing), #9840f4 hex color is composed of 37.7% cyan, 73.77% magenta, 0% yellow and 4.31% black.
#9840f4 color has a hue of 269.3 degrees, a saturation of 89.11% and a lightness of 60.4%.
#9840f4 hex color contains mainly BLUE.
The closest web safe color of #9840f4 is #9933ff
#9840f4 hex color has a decimal value of 9978100.
HEX | 9840f4 | #9840f4 |
---|---|---|
RGB | 152, 64, 244 | rgb(152, 64, 244) |
RGB Percent | 59.61, 25.1, 95.69 | rgb(59.61, 25.1, 95.69) |
CMYK | 38, 74, 0, 4 | |
HSL | 269.3°, 89.11, 60.4 | hsl(269.3, 89.11%, 60.4%) |
HSV | 269.3°, 73.8, 95.7 |
XYZ | 31.111, 16.874, 87.205 |
---|---|
Hunter Lab | 41.078, 63.303, -97.113 |
CIE-LAB | 48.101, 68.287, -75.215 |
CIE-LCH | 48.101, 101.589, 312.236 |
CIE-LUV | 37.7, 73.77, 0, 4.31 |
Web Safe | 9933ff |
RGB percent of color #9840f4
CMYK percent of color #9840f4
Text with hexadecimal color #9840f4
This text has a font color of #9840f4
<p style="color:#9840f4">Text here</p>
#9840f4 Background Color
This box has a background color of #9840f4
<div style="background-color:#9840f4">Text here</div>
#9840f4 Border Color
This box has a border color of #9840f4
<div style="border: 4px solid #9840f4">Text here</div>
CSS codes
<p style="color:#9840f4">Text here</p>
<div style="background-color:#9840f4">Text here</div>
<div style="border: 4px solid #9840f4">Text here</div>
#9840f4 Color on white background
This is how a font and box color of #9840f4 will look
on a white background.
#9840f4 Color on black background
This is how a font and box color of #9840f4 hex color will look
on a black background.