In RGB color space, #1f0c28 hex color has a red value of 31, a green value of 12 and a blue value of 40.
In CMYK color space (used in color printing), #1f0c28 hex color is composed of 22.5% cyan, 70% magenta, 0% yellow and 84.31% black.
#1f0c28 color has a hue of 280.7 degrees, a saturation of 53.85% and a lightness of 10.2%.
#1f0c28 hex color contains mainly BLUE.
The closest web safe color of #1f0c28 is #330033
#1f0c28 hex color has a decimal value of 2034728.
HEX | 1f0c28 | #1f0c28 |
---|---|---|
RGB | 31, 12, 40 | rgb(31, 12, 40) |
RGB Percent | 12.16, 4.71, 15.69 | rgb(12.16, 4.71, 15.69) |
CMYK | 23, 70, 0, 84 | |
HSL | 280.7°, 53.85, 10.2 | hsl(280.7, 53.85%, 10.2%) |
HSV | 280.7°, 70, 15.7 |
XYZ | 1.08, 0.707, 2.087 |
---|---|
Hunter Lab | 8.408, 8.213, -8.83 |
CIE-LAB | 6.386, 15.916, -14.927 |
CIE-LCH | 6.386, 21.821, 316.837 |
CIE-LUV | 22.5, 70, 0, 84.31 |
Web Safe | 330033 |
RGB percent of color #1f0c28
CMYK percent of color #1f0c28
Text with hexadecimal color #1f0c28
This text has a font color of #1f0c28
<p style="color:#1f0c28">Text here</p>
#1f0c28 Background Color
This box has a background color of #1f0c28
<div style="background-color:#1f0c28">Text here</div>
#1f0c28 Border Color
This box has a border color of #1f0c28
<div style="border: 4px solid #1f0c28">Text here</div>
CSS codes
<p style="color:#1f0c28">Text here</p>
<div style="background-color:#1f0c28">Text here</div>
<div style="border: 4px solid #1f0c28">Text here</div>
#1f0c28 Color on white background
This is how a font and box color of #1f0c28 will look
on a white background.
#1f0c28 Color on black background
This is how a font and box color of #1f0c28 hex color will look
on a black background.