#1F211E - Petroleum
Hex color #1F211E is called Petroleum. It consists of 12% red, 13% green, and 12% blue in RGB color space. In CMYK it is 6% cyan, 0% magenta, 9% yellow, and 87% black. In HSL it is 100° hue, 5% saturation, and 12% lightness (dark) . On this page you can get both color properties and CSS values for such color schemas: HEX, HEXA, RGB, RGBA, HSL, and CMYK; color name, CSS color name, tailwind name for color; shades and tints; monochromatic colors; negative color; and other info.
| Property | Value | CSS |
|---|---|---|
| Name | Petroleum | — |
| HEX | #1F211E | #1F211E |
| HEXA | #1F211EFF | #1F211EFF |
| RGB | 31, 33, 30 | rgb(31, 33, 30) |
| RGBA | 31, 33, 30, 1 | rgba(31, 33, 30, 1) |
| HSL | 100%, 5%, 12% | hsl(100%, 5%, 12%) |
| CMYK | 6%, 0%, 9%, 87% | cmyk(6%, 0%, 9%, 87%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 12% (dark) | — |
Negative color
The color opposite to #1F211E is #E0DEE1.
Preview on black and white
As #1F211E has 12% lightness, this color is dark, so it has more contrast with white.
#1F211E On White Background
#1F211E
#1F211E
Text Color
This is how text looks with this color.
#1F211E On Black Background
#1F211E
#1F211E
Text Color
This is how text looks with this color.
Transform color
31, 33, 30rgb(31, 33, 30)