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