In RGB color space, #510cd4 hex color has a red value of 81, a green value of 12 and a blue value of 212.
In CMYK color space (used in color printing), #510cd4 hex color is composed of 61.79% cyan, 94.34% magenta, 0% yellow and 16.86% black.
#510cd4 color has a hue of 260.7 degrees, a saturation of 89.29% and a lightness of 43.9%.
#510cd4 hex color contains mainly BLUE.
The closest web safe color of #510cd4 is #6600cc
#510cd4 hex color has a decimal value of 5311700.
HEX | 510cd4 | #510cd4 |
---|---|---|
RGB | 81, 12, 212 | rgb(81, 12, 212) |
RGB Percent | 31.76, 4.71, 83.14 | rgb(31.76, 4.71, 83.14) |
CMYK | 62, 94, 0, 17 | |
HSL | 260.7°, 89.29, 43.9 | hsl(260.7, 89.29%, 43.9%) |
HSV | 260.7°, 94.3, 83.1 |
XYZ | 15.408, 6.766, 62.781 |
---|---|
Hunter Lab | 26.012, 60.215, -124.893 |
CIE-LAB | 31.268, 68.887, -84.967 |
CIE-LCH | 31.268, 109.384, 309.033 |
CIE-LUV | 61.79, 94.34, 0, 16.86 |
Web Safe | 6600cc |
RGB percent of color #510cd4
CMYK percent of color #510cd4
Text with hexadecimal color #510cd4
This text has a font color of #510cd4
<p style="color:#510cd4">Text here</p>
#510cd4 Background Color
This box has a background color of #510cd4
<div style="background-color:#510cd4">Text here</div>
#510cd4 Border Color
This box has a border color of #510cd4
<div style="border: 4px solid #510cd4">Text here</div>
CSS codes
<p style="color:#510cd4">Text here</p>
<div style="background-color:#510cd4">Text here</div>
<div style="border: 4px solid #510cd4">Text here</div>
#510cd4 Color on white background
This is how a font and box color of #510cd4 will look
on a white background.
#510cd4 Color on black background
This is how a font and box color of #510cd4 hex color will look
on a black background.