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