#402A1F Hex color

#402A1F

The hexadecimal color code #402A1F corresponds to the code RGB( 64, 42, 31 ). It's a shade of Brown. This color is a combination of red (at 0,25 level), green (at 0,16 level) and blue (at 0,12 level). Its brightness is 18% and its saturation is 34%. It is composed of red at 46%, green at 30% and blue at 22%.


Features

Hue

Saturation

Brightness

20
34
18
Shade of Brown
Hex Code #402A1F
RGB Code rgb( 64 , 42 , 31)
RGB Code Percentagergb( 25.1% , 16.5% , 12.2% )
HSLhsl( 20 , 34% , 18% )
Complementary
Color
#BFD5E0


Variations of #402A1F

Lighter Shades

Palette of gradually lightened shades. The lightest shade of #402A1F is the color #EBE9E8

#402a1f

Darker Shades

Palette of progressively darker shades. The darkest shade is #060403.

#402a1f

Other Shades of Brown

Examples of other colors within the Brown spectrum .

See more



Color Palettes

The complementary color #BFD5E0 is the color exactly opposite to #402A1F on the color wheel. The triadic palette is created by selecting two colors that are evenly spaced on the color wheel.

Complementary color palette

#402A1F

Triadic palette



Uses of #402A1F in CSS

When using #402A1F as the background color, consider selecting a lighter text color for improved readability. If you want to use #402A1F as the text color, prefer a light background, such as Blanc.

#402A1F as background color

Black text
White text
div{ background: #402A1F;  }

Colored text

With a white background or
with a dark background
div{ color: #402A1F;  }

Border

#402A1F colored border with a width of 3px
div{ border: 3px solid #402A1F;  }

Shadow

#402A1F shadow colored
div{ box-shadow: 3px 3px 7px #402A1F; }

Similar Colors

Other color codes similar or equivalent to the specified color code #402A1F.

Choose another color

Select another color on color wheel.

Selected color: