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