#404242 Hex color

#404242

The hexadecimal color code #404242 corresponds to the code RGB( 64, 66, 66 ). It's a shade of Gray. This color is a combination of red (at 0,25 level), green (at 0,26 level) and blue (at 0,26 level). Its brightness is 25% and its saturation is 1%. It is composed of red at 32%, green at 33% and blue at 33%.


Features

Hue

Saturation

Brightness

180
1
25
Shade of Gray
Hex Code #404242
RGB Code rgb( 64 , 66 , 66)
RGB Code Percentagergb( 25.1% , 25.9% , 25.9% )
HSLhsl( 180 , 1% , 25% )
Complementary
Color
#BFBDBD


Variations of #404242

Lighter Shades

Palette of gradually lightened shades. The lightest shade of #404242 is the color #EBECEC

#404242

Darker Shades

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

#404242

Other Shades of Gray

Examples of other colors within the Gray spectrum .

See more



Color Palettes

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

Complementary color palette

#404242

Triadic palette



Uses of #404242 in CSS

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

#404242 as background color

Black text
White text
div{ background: #404242;  }

Colored text

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

Border

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

Shadow

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

Similar Colors

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

Choose another color

Select another color on color wheel.

Selected color: