In RGB color space, #1f0157 hex color has a red value of 31, a green value of 1 and a blue value of 87.
In CMYK color space (used in color printing), #1f0157 hex color is composed of 64.37% cyan, 98.85% magenta, 0% yellow and 65.88% black.
#1f0157 color has a hue of 260.9 degrees, a saturation of 97.73% and a lightness of 17.3%.
#1f0157 hex color contains mainly BLUE.
The closest web safe color of #1f0157 is #330066
#1f0157 hex color has a decimal value of 2031959.
HEX | 1f0157 | #1f0157 |
---|---|---|
RGB | 31, 1, 87 | rgb(31, 1, 87) |
RGB Percent | 12.16, 0.39, 34.12 | rgb(12.16, 0.39, 34.12) |
CMYK | 64, 99, 0, 66 | |
HSL | 260.9°, 97.73, 17.3 | hsl(260.9, 97.73%, 17.3%) |
HSV | 260.9°, 98.9, 34.1 |
XYZ | 2.296, 1.001, 9.089 |
---|---|
Hunter Lab | 10.005, 23.454, -46.858 |
CIE-LAB | 9, 36.78, -44.304 |
CIE-LCH | 9, 57.581, 309.699 |
CIE-LUV | 64.37, 98.85, 0, 65.88 |
Web Safe | 330066 |
RGB percent of color #1f0157
CMYK percent of color #1f0157
Text with hexadecimal color #1f0157
This text has a font color of #1f0157
<p style="color:#1f0157">Text here</p>
#1f0157 Background Color
This box has a background color of #1f0157
<div style="background-color:#1f0157">Text here</div>
#1f0157 Border Color
This box has a border color of #1f0157
<div style="border: 4px solid #1f0157">Text here</div>
CSS codes
<p style="color:#1f0157">Text here</p>
<div style="background-color:#1f0157">Text here</div>
<div style="border: 4px solid #1f0157">Text here</div>
#1f0157 Color on white background
This is how a font and box color of #1f0157 will look
on a white background.
#1f0157 Color on black background
This is how a font and box color of #1f0157 hex color will look
on a black background.