#221828 Hex color

#221828

The hexadecimal color code #221828 corresponds to the code RGB( 34, 24, 40 ). It's a shade of Purple. This color is a combination of red (at 0,13 level), green (at 0,09 level) and blue (at 0,16 level). Its brightness is 12% and its saturation is 25%. It is composed of red at 34%, green at 24% and blue at 40%.


Features

Hue

Saturation

Brightness

278
25
12
Shade of Purple
Hex Code #221828
RGB Code rgb( 34 , 24 , 40)
RGB Code Percentagergb( 13.3% , 9.4% , 15.7% )
HSLhsl( 278 , 25% , 12% )
Complementary
Color
#DDE7D7


Variations of #221828

Lighter Shades

Palette of gradually lightened shades. The lightest shade of #221828 is the color #E8E7E9

#221828

Darker Shades

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

#221828

Other Shades of Purple

Examples of other colors within the Purple spectrum .

See more



Color Palettes

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

Complementary color palette

#221828

Triadic palette



Uses of #221828 in CSS

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

#221828 as background color

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

Colored text

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

Border

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

Shadow

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

Similar Colors

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

Choose another color

Select another color on color wheel.

Selected color: