#40A042 Hex color

#40A042

The hexadecimal color code #40A042 corresponds to the code RGB( 64, 160, 66 ). It's a shade of Green. This color is a combination of red (at 0,25 level), green (at 0,63 level) and blue (at 0,26 level). Its brightness is 43% and its saturation is 42%. It is composed of red at 22%, green at 55% and blue at 22%.


Features

Hue

Saturation

Brightness

121
42
43
Shade of Green
Hex Code #40A042
RGB Code rgb( 64 , 160 , 66)
RGB Code Percentagergb( 25.1% , 62.7% , 25.9% )
HSLhsl( 121 , 42% , 43% )
Complementary
Color
#BF5FBD


Variations of #40A042

Lighter Shades

Palette of gradually lightened shades. The lightest shade of #40A042 is the color #EBF5EC

#40a042

Darker Shades

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

#40a042

Other Shades of Green

Examples of other colors within the Green spectrum .

See more



Color Palettes

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

Complementary color palette

#40A042

Triadic palette



Uses of #40A042 in CSS

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

#40A042 as background color

Black text
White text
div{ background: #40A042;  }

Colored text

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

Border

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

Shadow

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

Similar Colors

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

Choose another color

Select another color on color wheel.

Selected color: