In RGB color space, #840ccb hex color has a red value of 132, a green value of 12 and a blue value of 203.
In CMYK color space (used in color printing), #840ccb hex color is composed of 34.98% cyan, 94.09% magenta, 0% yellow and 20.39% black.
#840ccb color has a hue of 277.7 degrees, a saturation of 88.84% and a lightness of 42.2%.
#840ccb hex color contains mainly BLUE.
The closest web safe color of #840ccb is #9900cc
#840ccb hex color has a decimal value of 8654027.
HEX | 840ccb | #840ccb |
---|---|---|
RGB | 132, 12, 203 | rgb(132, 12, 203) |
RGB Percent | 51.76, 4.71, 79.61 | rgb(51.76, 4.71, 79.61) |
CMYK | 35, 94, 0, 20 | |
HSL | 277.7°, 88.84, 42.2 | hsl(277.7, 88.84%, 42.2%) |
HSV | 277.7°, 94.1, 79.6 |
XYZ | 20.427, 9.48, 57.253 |
---|---|
Hunter Lab | 30.79, 64.542, -88.696 |
CIE-LAB | 36.893, 71.512, -70.233 |
CIE-LCH | 36.893, 100.233, 315.517 |
CIE-LUV | 34.98, 94.09, 0, 20.39 |
Web Safe | 9900cc |
RGB percent of color #840ccb
CMYK percent of color #840ccb
Text with hexadecimal color #840ccb
This text has a font color of #840ccb
<p style="color:#840ccb">Text here</p>
#840ccb Background Color
This box has a background color of #840ccb
<div style="background-color:#840ccb">Text here</div>
#840ccb Border Color
This box has a border color of #840ccb
<div style="border: 4px solid #840ccb">Text here</div>
CSS codes
<p style="color:#840ccb">Text here</p>
<div style="background-color:#840ccb">Text here</div>
<div style="border: 4px solid #840ccb">Text here</div>
#840ccb Color on white background
This is how a font and box color of #840ccb will look
on a white background.
#840ccb Color on black background
This is how a font and box color of #840ccb hex color will look
on a black background.