In RGB color space, #1f5242 hex color has a red value of 31, a green value of 82 and a blue value of 66.
In CMYK color space (used in color printing), #1f5242 hex color is composed of 62.2% cyan, 0% magenta, 19.51% yellow and 67.84% black.
#1f5242 color has a hue of 161.2 degrees, a saturation of 45.13% and a lightness of 22.2%.
#1f5242 hex color contains mainly GREEN.
The closest web safe color of #1f5242 is #336633
#1f5242 hex color has a decimal value of 2052674.
HEX | 1f5242 | #1f5242 |
---|---|---|
RGB | 31, 82, 66 | rgb(31, 82, 66) |
RGB Percent | 12.16, 32.16, 25.88 | rgb(12.16, 32.16, 25.88) |
CMYK | 62, 0, 20, 68 | |
HSL | 161.2°, 45.13, 22.2 | hsl(161.2, 45.13%, 22.2%) |
HSV | 161.2°, 62.2, 32.2 |
XYZ | 4.566, 6.719, 6.211 |
---|---|
Hunter Lab | 25.921, -13.919, 3.938 |
CIE-LAB | 31.158, -21.507, 4.318 |
CIE-LCH | 31.158, 21.936, 168.648 |
CIE-LUV | 62.2, 0, 19.51, 67.84 |
Web Safe | 336633 |
RGB percent of color #1f5242
CMYK percent of color #1f5242
Text with hexadecimal color #1f5242
This text has a font color of #1f5242
<p style="color:#1f5242">Text here</p>
#1f5242 Background Color
This box has a background color of #1f5242
<div style="background-color:#1f5242">Text here</div>
#1f5242 Border Color
This box has a border color of #1f5242
<div style="border: 4px solid #1f5242">Text here</div>
CSS codes
<p style="color:#1f5242">Text here</p>
<div style="background-color:#1f5242">Text here</div>
<div style="border: 4px solid #1f5242">Text here</div>
#1f5242 Color on white background
This is how a font and box color of #1f5242 will look
on a white background.
#1f5242 Color on black background
This is how a font and box color of #1f5242 hex color will look
on a black background.