In RGB color space, #840cf5 hex color has a red value of 132, a green value of 12 and a blue value of 245.
In CMYK color space (used in color printing), #840cf5 hex color is composed of 46.12% cyan, 95.1% magenta, 0% yellow and 3.92% black.
#840cf5 color has a hue of 270.9 degrees, a saturation of 92.09% and a lightness of 50.4%.
#840cf5 hex color contains mainly BLUE.
The closest web safe color of #840cf5 is #9900ff
#840cf5 hex color has a decimal value of 8654069.
HEX | 840cf5 | #840cf5 |
---|---|---|
RGB | 132, 12, 245 | rgb(132, 12, 245) |
RGB Percent | 51.76, 4.71, 96.08 | rgb(51.76, 4.71, 96.08) |
CMYK | 46, 95, 0, 4 | |
HSL | 270.9°, 92.09, 50.4 | hsl(270.9, 92.09%, 50.4%) |
HSV | 270.9°, 95.1, 96.1 |
XYZ | 26.129, 11.761, 87.279 |
---|---|
Hunter Lab | 34.294, 75.985, -126.887 |
CIE-LAB | 40.834, 80.138, -87.797 |
CIE-LCH | 40.834, 118.871, 312.389 |
CIE-LUV | 46.12, 95.1, 0, 3.92 |
Web Safe | 9900ff |
RGB percent of color #840cf5
CMYK percent of color #840cf5
Text with hexadecimal color #840cf5
This text has a font color of #840cf5
<p style="color:#840cf5">Text here</p>
#840cf5 Background Color
This box has a background color of #840cf5
<div style="background-color:#840cf5">Text here</div>
#840cf5 Border Color
This box has a border color of #840cf5
<div style="border: 4px solid #840cf5">Text here</div>
CSS codes
<p style="color:#840cf5">Text here</p>
<div style="background-color:#840cf5">Text here</div>
<div style="border: 4px solid #840cf5">Text here</div>
#840cf5 Color on white background
This is how a font and box color of #840cf5 will look
on a white background.
#840cf5 Color on black background
This is how a font and box color of #840cf5 hex color will look
on a black background.