In RGB color space, #9840f0 hex color has a red value of 152, a green value of 64 and a blue value of 240.
In CMYK color space (used in color printing), #9840f0 hex color is composed of 36.67% cyan, 73.33% magenta, 0% yellow and 5.88% black.
#9840f0 color has a hue of 270 degrees, a saturation of 85.44% and a lightness of 59.6%.
#9840f0 hex color contains mainly BLUE.
The closest web safe color of #9840f0 is #9933ff
#9840f0 hex color has a decimal value of 9978096.
HEX | 9840f0 | #9840f0 |
---|---|---|
RGB | 152, 64, 240 | rgb(152, 64, 240) |
RGB Percent | 59.61, 25.1, 94.12 | rgb(59.61, 25.1, 94.12) |
CMYK | 37, 73, 0, 6 | |
HSL | 270°, 85.44, 59.6 | hsl(270, 85.44%, 59.6%) |
HSV | 270°, 73.3, 94.1 |
XYZ | 30.51, 16.633, 84.041 |
---|---|
Hunter Lab | 40.784, 62.164, -93.628 |
CIE-LAB | 47.794, 67.376, -73.469 |
CIE-LCH | 47.794, 99.686, 312.523 |
CIE-LUV | 36.67, 73.33, 0, 5.88 |
Web Safe | 9933ff |
RGB percent of color #9840f0
CMYK percent of color #9840f0
Text with hexadecimal color #9840f0
This text has a font color of #9840f0
<p style="color:#9840f0">Text here</p>
#9840f0 Background Color
This box has a background color of #9840f0
<div style="background-color:#9840f0">Text here</div>
#9840f0 Border Color
This box has a border color of #9840f0
<div style="border: 4px solid #9840f0">Text here</div>
CSS codes
<p style="color:#9840f0">Text here</p>
<div style="background-color:#9840f0">Text here</div>
<div style="border: 4px solid #9840f0">Text here</div>
#9840f0 Color on white background
This is how a font and box color of #9840f0 will look
on a white background.
#9840f0 Color on black background
This is how a font and box color of #9840f0 hex color will look
on a black background.