#2A252A - Black Onyx
Hex color #2A252A is called Black Onyx. It consists of 16% red, 15% green, and 16% blue in RGB color space. In CMYK it is 0% cyan, 12% magenta, 0% yellow, and 84% black. In HSL it is 300° hue, 6% saturation, and 15% 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 | Black Onyx | — |
| HEX | #2A252A | #2A252A |
| HEXA | #2A252AFF | #2A252AFF |
| RGB | 42, 37, 42 | rgb(42, 37, 42) |
| RGBA | 42, 37, 42, 1 | rgba(42, 37, 42, 1) |
| HSL | 300%, 6%, 15% | hsl(300%, 6%, 15%) |
| CMYK | 0%, 12%, 0%, 84% | cmyk(0%, 12%, 0%, 84%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 15% (dark) | — |
Negative color
The color opposite to #2A252A is #D5DAD5.
Preview on black and white
As #2A252A has 15% lightness, this color is dark, so it has more contrast with white.
#2A252A On White Background
#2A252A
#2A252A
Text Color
This is how text looks with this color.
#2A252A On Black Background
#2A252A
#2A252A
Text Color
This is how text looks with this color.
Transform color
42, 37, 42rgb(42, 37, 42)