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