#282542 - Midnight Velvet
Hex color #282542 is called Midnight Velvet. It consists of 16% red, 15% green, and 26% blue in RGB color space. In CMYK it is 39% cyan, 44% magenta, 0% yellow, and 74% black. In HSL it is 246° hue, 28% saturation, and 20% 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 | Midnight Velvet | — |
| HEX | #282542 | #282542 |
| HEXA | #282542FF | #282542FF |
| RGB | 40, 37, 66 | rgb(40, 37, 66) |
| RGBA | 40, 37, 66, 1 | rgba(40, 37, 66, 1) |
| HSL | 246%, 28%, 20% | hsl(246%, 28%, 20%) |
| CMYK | 39%, 44%, 0%, 74% | cmyk(39%, 44%, 0%, 74%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 20% (dark) | — |
Negative color
The color opposite to #282542 is #D7DABD.
Preview on black and white
As #282542 has 20% lightness, this color is dark, so it has more contrast with white.
#282542 On White Background
#282542
#282542
Text Color
This is how text looks with this color.
#282542 On Black Background
#282542
#282542
Text Color
This is how text looks with this color.
Transform color
40, 37, 66rgb(40, 37, 66)