In RGB color space, #1f0228 hex color has a red value of 31, a green value of 2 and a blue value of 40.
In CMYK color space (used in color printing), #1f0228 hex color is composed of 22.5% cyan, 95% magenta, 0% yellow and 84.31% black.
#1f0228 color has a hue of 285.8 degrees, a saturation of 90.48% and a lightness of 8.2%.
#1f0228 hex color contains mainly BLUE.
The closest web safe color of #1f0228 is #330033
#1f0228 hex color has a decimal value of 2032168.
HEX | 1f0228 | #1f0228 |
---|---|---|
RGB | 31, 2, 40 | rgb(31, 2, 40) |
RGB Percent | 12.16, 0.78, 15.69 | rgb(12.16, 0.78, 15.69) |
CMYK | 23, 95, 0, 84 | |
HSL | 285.8°, 90.48, 8.2 | hsl(285.8, 90.48%, 8.2%) |
HSV | 285.8°, 95, 15.7 |
XYZ | 0.97, 0.488, 2.051 |
---|---|
Hunter Lab | 6.986, 12.561, -12.518 |
CIE-LAB | 4.408, 20.489, -18.028 |
CIE-LCH | 4.408, 27.291, 318.656 |
CIE-LUV | 22.5, 95, 0, 84.31 |
Web Safe | 330033 |
RGB percent of color #1f0228
CMYK percent of color #1f0228
Text with hexadecimal color #1f0228
This text has a font color of #1f0228
<p style="color:#1f0228">Text here</p>
#1f0228 Background Color
This box has a background color of #1f0228
<div style="background-color:#1f0228">Text here</div>
#1f0228 Border Color
This box has a border color of #1f0228
<div style="border: 4px solid #1f0228">Text here</div>
CSS codes
<p style="color:#1f0228">Text here</p>
<div style="background-color:#1f0228">Text here</div>
<div style="border: 4px solid #1f0228">Text here</div>
#1f0228 Color on white background
This is how a font and box color of #1f0228 will look
on a white background.
#1f0228 Color on black background
This is how a font and box color of #1f0228 hex color will look
on a black background.