In RGB color space, #840fb8 hex color has a red value of 132, a green value of 15 and a blue value of 184.
In CMYK color space (used in color printing), #840fb8 hex color is composed of 28.26% cyan, 91.85% magenta, 0% yellow and 27.84% black.
#840fb8 color has a hue of 281.5 degrees, a saturation of 84.92% and a lightness of 39%.
#840fb8 hex color contains mainly BLUE.
The closest web safe color of #840fb8 is #9900cc
#840fb8 hex color has a decimal value of 8654776.
HEX | 840fb8 | #840fb8 |
---|---|---|
RGB | 132, 15, 184 | rgb(132, 15, 184) |
RGB Percent | 51.76, 5.88, 72.16 | rgb(51.76, 5.88, 72.16) |
CMYK | 28, 92, 0, 28 | |
HSL | 281.5°, 84.92, 39 | hsl(281.5, 84.92%, 39%) |
HSV | 281.5°, 91.8, 72.2 |
XYZ | 18.338, 8.708, 46.062 |
---|---|
Hunter Lab | 29.509, 59.284, -71.891 |
CIE-LAB | 35.416, 67.298, -61.49 |
CIE-LCH | 35.416, 91.159, 317.582 |
CIE-LUV | 28.26, 91.85, 0, 27.84 |
Web Safe | 9900cc |
RGB percent of color #840fb8
CMYK percent of color #840fb8
Text with hexadecimal color #840fb8
This text has a font color of #840fb8
<p style="color:#840fb8">Text here</p>
#840fb8 Background Color
This box has a background color of #840fb8
<div style="background-color:#840fb8">Text here</div>
#840fb8 Border Color
This box has a border color of #840fb8
<div style="border: 4px solid #840fb8">Text here</div>
CSS codes
<p style="color:#840fb8">Text here</p>
<div style="background-color:#840fb8">Text here</div>
<div style="border: 4px solid #840fb8">Text here</div>
#840fb8 Color on white background
This is how a font and box color of #840fb8 will look
on a white background.
#840fb8 Color on black background
This is how a font and box color of #840fb8 hex color will look
on a black background.