#402A17 - Night Brown
Hex color #402A17 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, 64% yellow, and 75% black. In HSL it is 28° hue, 47% 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 | #402A17 | #402A17 |
| HEXA | #402A17FF | #402A17FF |
| RGB | 64, 42, 23 | rgb(64, 42, 23) |
| RGBA | 64, 42, 23, 1 | rgba(64, 42, 23, 1) |
| HSL | 28%, 47%, 17% | hsl(28%, 47%, 17%) |
| CMYK | 0%, 34%, 64%, 75% | cmyk(0%, 34%, 64%, 75%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 17% (dark) | — |
Negative color
The color opposite to #402A17 is #BFD5E8.
Preview on black and white
As #402A17 has 17% lightness, this color is dark, so it has more contrast with white.
#402A17 On White Background
#402A17
#402A17
Text Color
This is how text looks with this color.
#402A17 On Black Background
#402A17
#402A17
Text Color
This is how text looks with this color.
Transform color
64, 42, 23rgb(64, 42, 23)