In RGB color space, #5f0172 hex color has a red value of 95, a green value of 1 and a blue value of 114.
In CMYK color space (used in color printing), #5f0172 hex color is composed of 16.67% cyan, 99.12% magenta, 0% yellow and 55.29% black.
#5f0172 color has a hue of 289.9 degrees, a saturation of 98.26% and a lightness of 22.5%.
#5f0172 hex color contains mainly BLUE.
The closest web safe color of #5f0172 is #660066
#5f0172 hex color has a decimal value of 6226290.
HEX | 5f0172 | #5f0172 |
---|---|---|
RGB | 95, 1, 114 | rgb(95, 1, 114) |
RGB Percent | 37.25, 0.39, 44.71 | rgb(37.25, 0.39, 44.71) |
CMYK | 17, 99, 0, 55 | |
HSL | 289.9°, 98.26, 22.5 | hsl(289.9, 98.26%, 22.5%) |
HSV | 289.9°, 99.1, 44.7 |
XYZ | 7.767, 3.67, 16.218 |
---|---|
Hunter Lab | 19.157, 38.845, -36.783 |
CIE-LAB | 22.549, 50.815, -39.553 |
CIE-LCH | 22.549, 64.394, 322.104 |
CIE-LUV | 16.67, 99.12, 0, 55.29 |
Web Safe | 660066 |
RGB percent of color #5f0172
CMYK percent of color #5f0172
Text with hexadecimal color #5f0172
This text has a font color of #5f0172
<p style="color:#5f0172">Text here</p>
#5f0172 Background Color
This box has a background color of #5f0172
<div style="background-color:#5f0172">Text here</div>
#5f0172 Border Color
This box has a border color of #5f0172
<div style="border: 4px solid #5f0172">Text here</div>
CSS codes
<p style="color:#5f0172">Text here</p>
<div style="background-color:#5f0172">Text here</div>
<div style="border: 4px solid #5f0172">Text here</div>
#5f0172 Color on white background
This is how a font and box color of #5f0172 will look
on a white background.
#5f0172 Color on black background
This is how a font and box color of #5f0172 hex color will look
on a black background.