In RGB color space, #1f0f4c hex color has a red value of 31, a green value of 15 and a blue value of 76.
In CMYK color space (used in color printing), #1f0f4c hex color is composed of 59.21% cyan, 80.26% magenta, 0% yellow and 70.2% black.
#1f0f4c color has a hue of 255.7 degrees, a saturation of 67.03% and a lightness of 17.8%.
#1f0f4c hex color contains mainly BLUE.
The closest web safe color of #1f0f4c is #330033
#1f0f4c hex color has a decimal value of 2035532.
HEX | 1f0f4c | #1f0f4c |
---|---|---|
RGB | 31, 15, 76 | rgb(31, 15, 76) |
RGB Percent | 12.16, 5.88, 29.8 | rgb(12.16, 5.88, 29.8) |
CMYK | 59, 80, 0, 70 | |
HSL | 255.7°, 67.03, 17.8 | hsl(255.7, 67.03%, 17.8%) |
HSV | 255.7°, 80.3, 29.8 |
XYZ | 2.04, 1.155, 6.953 |
---|---|
Hunter Lab | 10.747, 15.075, -30.836 |
CIE-LAB | 10.221, 25.931, -34.732 |
CIE-LCH | 10.221, 43.344, 306.745 |
CIE-LUV | 59.21, 80.26, 0, 70.2 |
Web Safe | 330033 |
RGB percent of color #1f0f4c
CMYK percent of color #1f0f4c
Text with hexadecimal color #1f0f4c
This text has a font color of #1f0f4c
<p style="color:#1f0f4c">Text here</p>
#1f0f4c Background Color
This box has a background color of #1f0f4c
<div style="background-color:#1f0f4c">Text here</div>
#1f0f4c Border Color
This box has a border color of #1f0f4c
<div style="border: 4px solid #1f0f4c">Text here</div>
CSS codes
<p style="color:#1f0f4c">Text here</p>
<div style="background-color:#1f0f4c">Text here</div>
<div style="border: 4px solid #1f0f4c">Text here</div>
#1f0f4c Color on white background
This is how a font and box color of #1f0f4c will look
on a white background.
#1f0f4c Color on black background
This is how a font and box color of #1f0f4c hex color will look
on a black background.