In RGB color space, #510158 hex color has a red value of 81, a green value of 1 and a blue value of 88.
In CMYK color space (used in color printing), #510158 hex color is composed of 7.95% cyan, 98.86% magenta, 0% yellow and 65.49% black.
#510158 color has a hue of 295.2 degrees, a saturation of 97.75% and a lightness of 17.5%.
#510158 hex color contains mainly BLUE.
The closest web safe color of #510158 is #660066
#510158 hex color has a decimal value of 5308760.
HEX | 510158 | #510158 |
---|---|---|
RGB | 81, 1, 88 | rgb(81, 1, 88) |
RGB Percent | 31.76, 0.39, 34.51 | rgb(31.76, 0.39, 34.51) |
CMYK | 8, 99, 0, 65 | |
HSL | 295.2°, 97.75, 17.5 | hsl(295.2, 97.75%, 17.5%) |
HSV | 295.2°, 98.9, 34.5 |
XYZ | 5.166, 2.476, 9.438 |
---|---|
Hunter Lab | 15.735, 31.066, -24.547 |
CIE-LAB | 17.81, 43.666, -30.22 |
CIE-LCH | 17.81, 53.103, 325.314 |
CIE-LUV | 7.95, 98.86, 0, 65.49 |
Web Safe | 660066 |
RGB percent of color #510158
CMYK percent of color #510158
Text with hexadecimal color #510158
This text has a font color of #510158
<p style="color:#510158">Text here</p>
#510158 Background Color
This box has a background color of #510158
<div style="background-color:#510158">Text here</div>
#510158 Border Color
This box has a border color of #510158
<div style="border: 4px solid #510158">Text here</div>
CSS codes
<p style="color:#510158">Text here</p>
<div style="background-color:#510158">Text here</div>
<div style="border: 4px solid #510158">Text here</div>
#510158 Color on white background
This is how a font and box color of #510158 will look
on a white background.
#510158 Color on black background
This is how a font and box color of #510158 hex color will look
on a black background.