#28282A Hex color

#28282A

The hexadecimal color code #28282A corresponds to the code RGB( 40, 40, 42 ). It's a shade of Gray. This color is a combination of red (at 0,16 level), green (at 0,16 level) and blue (at 0,16 level). Its brightness is 16% and its saturation is 2%. It is composed of red at 32%, green at 32% and blue at 34%.


Features

Hue

Saturation

Brightness

240
2
16
Shade of Gray
Hex Code #28282A
RGB Code rgb( 40 , 40 , 42)
RGB Code Percentagergb( 15.7% , 15.7% , 16.5% )
HSLhsl( 240 , 2% , 16% )
Complementary
Color
#D7D7D5


Variations of #28282A

Lighter Shades

Palette of gradually lightened shades. The lightest shade of #28282A is the color #E9E9E9

#28282a

Darker Shades

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

#28282a

Other Shades of Gray

Examples of other colors within the Gray spectrum .

See more



Color Palettes

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

Complementary color palette

#28282A

Triadic palette



Uses of #28282A in CSS

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

#28282A as background color

Black text
White text
div{ background: #28282A;  }

Colored text

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

Border

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

Shadow

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

Similar Colors

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

Choose another color

Select another color on color wheel.

Selected color: