In RGB color space, #1f1f30 hex color has a red value of 31, a green value of 31 and a blue value of 48.
In CMYK color space (used in color printing), #1f1f30 hex color is composed of 35.42% cyan, 35.42% magenta, 0% yellow and 81.18% black.
#1f1f30 color has a hue of 240 degrees, a saturation of 21.52% and a lightness of 15.5%.
#1f1f30 hex color contains mainly BLUE.
The closest web safe color of #1f1f30 is #333333
#1f1f30 hex color has a decimal value of 2039600.
HEX | 1f1f30 | #1f1f30 |
---|---|---|
RGB | 31, 31, 48 | rgb(31, 31, 48) |
RGB Percent | 12.16, 12.16, 18.82 | rgb(12.16, 12.16, 18.82) |
CMYK | 35, 35, 0, 81 | |
HSL | 240°, 21.52, 15.5 | hsl(240, 21.52%, 15.5%) |
HSV | 240°, 35.4, 18.8 |
XYZ | 1.589, 1.485, 2.999 |
---|---|
Hunter Lab | 12.186, 1.95, -6.061 |
CIE-LAB | 12.512, 4.951, -11.241 |
CIE-LCH | 12.512, 12.283, 293.771 |
CIE-LUV | 35.42, 35.42, 0, 81.18 |
Web Safe | 333333 |
RGB percent of color #1f1f30
CMYK percent of color #1f1f30
Text with hexadecimal color #1f1f30
This text has a font color of #1f1f30
<p style="color:#1f1f30">Text here</p>
#1f1f30 Background Color
This box has a background color of #1f1f30
<div style="background-color:#1f1f30">Text here</div>
#1f1f30 Border Color
This box has a border color of #1f1f30
<div style="border: 4px solid #1f1f30">Text here</div>
CSS codes
<p style="color:#1f1f30">Text here</p>
<div style="background-color:#1f1f30">Text here</div>
<div style="border: 4px solid #1f1f30">Text here</div>
#1f1f30 Color on white background
This is how a font and box color of #1f1f30 will look
on a white background.
#1f1f30 Color on black background
This is how a font and box color of #1f1f30 hex color will look
on a black background.