#221828 Hex color
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
Variations of #221828
Lighter Shades
Palette of gradually lightened shades. The lightest shade of #221828 is the color #E8E7E9
Darker Shades
Palette of progressively darker shades. The darkest shade is #030204.
Other Shades of Purple
Examples of other colors within the Purple spectrum .
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.
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
div{ background: #221828; }
Colored text
div{ color: #221828; }
Border
div{ border: 3px solid #221828; }
Shadow
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.