In RGB color space, #7870c4 hex color has a red value of 120, a green value of 112 and a blue value of 196.
In CMYK color space (used in color printing), #7870c4 hex color is composed of 38.78% cyan, 42.86% magenta, 0% yellow and 23.14% black.
#7870c4 color has a hue of 245.7 degrees, a saturation of 41.58% and a lightness of 60.4%.
#7870c4 hex color contains mainly BLUE.
The closest web safe color of #7870c4 is #6666cc
#7870c4 hex color has a decimal value of 7893188.
HEX | 7870c4 | #7870c4 |
---|---|---|
RGB | 120, 112, 196 | rgb(120, 112, 196) |
RGB Percent | 47.06, 43.92, 76.86 | rgb(47.06, 43.92, 76.86) |
CMYK | 39, 43, 0, 23 | |
HSL | 245.7°, 41.58, 60.4 | hsl(245.7, 41.58%, 60.4%) |
HSV | 245.7°, 42.9, 76.9 |
XYZ | 23.504, 19.567, 54.763 |
---|---|
Hunter Lab | 44.235, 17.435, -42.438 |
CIE-LAB | 51.344, 23.561, -42.941 |
CIE-LCH | 51.344, 48.98, 298.753 |
CIE-LUV | 38.78, 42.86, 0, 23.14 |
Web Safe | 6666cc |
RGB percent of color #7870c4
CMYK percent of color #7870c4
Text with hexadecimal color #7870c4
This text has a font color of #7870c4
<p style="color:#7870c4">Text here</p>
#7870c4 Background Color
This box has a background color of #7870c4
<div style="background-color:#7870c4">Text here</div>
#7870c4 Border Color
This box has a border color of #7870c4
<div style="border: 4px solid #7870c4">Text here</div>
CSS codes
<p style="color:#7870c4">Text here</p>
<div style="background-color:#7870c4">Text here</div>
<div style="border: 4px solid #7870c4">Text here</div>
#7870c4 Color on white background
This is how a font and box color of #7870c4 will look
on a white background.
#7870c4 Color on black background
This is how a font and box color of #7870c4 hex color will look
on a black background.