#402A18 - Night Brown
Hex color #402A18 is called Night Brown. It consists of 25% red, 16% green, and 9% blue in RGB color space. In CMYK it is 0% cyan, 34% magenta, 63% yellow, and 75% black. In HSL it is 27° hue, 45% saturation, and 17% 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 | Night Brown | — |
| HEX | #402A18 | #402A18 |
| HEXA | #402A18FF | #402A18FF |
| RGB | 64, 42, 24 | rgb(64, 42, 24) |
| RGBA | 64, 42, 24, 1 | rgba(64, 42, 24, 1) |
| HSL | 27%, 45%, 17% | hsl(27%, 45%, 17%) |
| CMYK | 0%, 34%, 63%, 75% | cmyk(0%, 34%, 63%, 75%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 17% (dark) | — |
Negative color
The color opposite to #402A18 is #BFD5E7.
Preview on black and white
As #402A18 has 17% lightness, this color is dark, so it has more contrast with white.
#402A18 On White Background
#402A18
#402A18
Text Color
This is how text looks with this color.
#402A18 On Black Background
#402A18
#402A18
Text Color
This is how text looks with this color.
Transform color
64, 42, 24rgb(64, 42, 24)