#40271B Hex color

The hexadecimal color code #40271B corresponds to the code RGB( 64, 39, 27 ). It's a shade of Brown. This color is a combination of red (at 0,25 level), green (at 0,15 level) and blue (at 0,11 level). Its brightness is 17% and its saturation is 40%. It is composed of red at 49%, green at 30% and blue at 20%.


Features

Hue

Saturation

Brightness

19
40
17
Shade of Brown
Hex Code #40271B
RGB Code rgb( 64 , 39 , 27)
RGB Code Percentagergb( 25.1% , 15.3% , 10.6% )
HSLhsl( 19 , 40% , 17% )
Complementary
Color
#BFD8E4


Variations of #40271B

Lighter Shades

Palette of gradually lightened shades. The lightest shade of #40271B is the color #EBE9E8

#40271b

Darker Shades

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

#40271b

Other Shades of Brown

Examples of other colors within the Brown spectrum .

See more



Color Palettes

The complementary color #BFD8E4 is the color exactly opposite to #40271B on the color wheel. The triadic palette is created by selecting two colors that are evenly spaced on the color wheel.

Complementary color palette

#40271B

Triadic palette



Uses of #40271B in CSS

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

#40271B as background color

Black text
White text
div{ background: #40271B;  }

Colored text

With a white background or
with a dark background
div{ color: #40271B;  }

Border

#40271B colored border with a width of 3px
div{ border: 3px solid #40271B;  }

Shadow

#40271B shadow colored
div{ box-shadow: 3px 3px 7px #40271B; }

Similar Colors

Other color codes similar or equivalent to the specified color code #40271B.

Choose another color

Select another color on color wheel.

Selected color: