In RGB color space, #1f0142 hex color has a red value of 31, a green value of 1 and a blue value of 66.
In CMYK color space (used in color printing), #1f0142 hex color is composed of 53.03% cyan, 98.48% magenta, 0% yellow and 74.12% black.
#1f0142 color has a hue of 267.7 degrees, a saturation of 97.01% and a lightness of 13.1%.
#1f0142 hex color contains mainly BLUE.
The closest web safe color of #1f0142 is #330033
#1f0142 hex color has a decimal value of 2031938.
HEX | 1f0142 | #1f0142 |
---|---|---|
RGB | 31, 1, 66 | rgb(31, 1, 66) |
RGB Percent | 12.16, 0.39, 25.88 | rgb(12.16, 0.39, 25.88) |
CMYK | 53, 98, 0, 74 | |
HSL | 267.7°, 97.01, 13.1 | hsl(267.7, 97.01%, 13.1%) |
HSV | 267.7°, 98.5, 25.9 |
XYZ | 1.559, 0.706, 5.208 |
---|---|
Hunter Lab | 8.402, 18.415, -30.868 |
CIE-LAB | 6.377, 30.586, -34.018 |
CIE-LCH | 6.377, 45.746, 311.959 |
CIE-LUV | 53.03, 98.48, 0, 74.12 |
Web Safe | 330033 |
RGB percent of color #1f0142
CMYK percent of color #1f0142
Text with hexadecimal color #1f0142
This text has a font color of #1f0142
<p style="color:#1f0142">Text here</p>
#1f0142 Background Color
This box has a background color of #1f0142
<div style="background-color:#1f0142">Text here</div>
#1f0142 Border Color
This box has a border color of #1f0142
<div style="border: 4px solid #1f0142">Text here</div>
CSS codes
<p style="color:#1f0142">Text here</p>
<div style="background-color:#1f0142">Text here</div>
<div style="border: 4px solid #1f0142">Text here</div>
#1f0142 Color on white background
This is how a font and box color of #1f0142 will look
on a white background.
#1f0142 Color on black background
This is how a font and box color of #1f0142 hex color will look
on a black background.