#20221B - Petroleum
Hex color #20221B is called Petroleum. It consists of 13% red, 13% green, and 11% blue in RGB color space. In CMYK it is 6% cyan, 0% magenta, 21% yellow, and 87% black. In HSL it is 77° hue, 11% 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 | #20221B | #20221B |
| HEXA | #20221BFF | #20221BFF |
| RGB | 32, 34, 27 | rgb(32, 34, 27) |
| RGBA | 32, 34, 27, 1 | rgba(32, 34, 27, 1) |
| HSL | 77%, 11%, 12% | hsl(77%, 11%, 12%) |
| CMYK | 6%, 0%, 21%, 87% | cmyk(6%, 0%, 21%, 87%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 12% (dark) | — |
Negative color
The color opposite to #20221B is #DFDDE4.
Preview on black and white
As #20221B has 12% lightness, this color is dark, so it has more contrast with white.
#20221B On White Background
#20221B
#20221B
Text Color
This is how text looks with this color.
#20221B On Black Background
#20221B
#20221B
Text Color
This is how text looks with this color.
Transform color
32, 34, 27rgb(32, 34, 27)