In RGB color space, #1f1228 hex color has a red value of 31, a green value of 18 and a blue value of 40.
In CMYK color space (used in color printing), #1f1228 hex color is composed of 22.5% cyan, 55% magenta, 0% yellow and 84.31% black.
#1f1228 color has a hue of 275.5 degrees, a saturation of 37.93% and a lightness of 11.4%.
#1f1228 hex color contains mainly BLUE.
The closest web safe color of #1f1228 is #330033
#1f1228 hex color has a decimal value of 2036264.
HEX | 1f1228 | #1f1228 |
---|---|---|
RGB | 31, 18, 40 | rgb(31, 18, 40) |
RGB Percent | 12.16, 7.06, 15.69 | rgb(12.16, 7.06, 15.69) |
CMYK | 23, 55, 0, 84 | |
HSL | 275.5°, 37.93, 11.4 | hsl(275.5, 37.93%, 11.4%) |
HSV | 275.5°, 55, 15.7 |
XYZ | 1.164, 0.877, 2.115 |
---|---|
Hunter Lab | 9.365, 5.798, -6.835 |
CIE-LAB | 7.922, 12.139, -12.518 |
CIE-LCH | 7.922, 17.437, 314.119 |
CIE-LUV | 22.5, 55, 0, 84.31 |
Web Safe | 330033 |
RGB percent of color #1f1228
CMYK percent of color #1f1228
Text with hexadecimal color #1f1228
This text has a font color of #1f1228
<p style="color:#1f1228">Text here</p>
#1f1228 Background Color
This box has a background color of #1f1228
<div style="background-color:#1f1228">Text here</div>
#1f1228 Border Color
This box has a border color of #1f1228
<div style="border: 4px solid #1f1228">Text here</div>
CSS codes
<p style="color:#1f1228">Text here</p>
<div style="background-color:#1f1228">Text here</div>
<div style="border: 4px solid #1f1228">Text here</div>
#1f1228 Color on white background
This is how a font and box color of #1f1228 will look
on a white background.
#1f1228 Color on black background
This is how a font and box color of #1f1228 hex color will look
on a black background.