Random Color Generator

#422f48 Color

Color Codes
Hex Code #422f48
RGB Code rgb(66, 47, 72)
HSL Code hsl(286, 21%, 23%)

#422f48 Color Syntax

rgb()

 rgb(Red, Green, Blue);
 rgba(Red, Green, Blue, Alpha);

 main {
    background-color: rgb(66, 47, 72);
   }

R(red), G(green), B(blue) can be number between 0-255.
A parameter is a hex characters (0–9, A–F) and optional.

hsl()

 hsl(hue saturation lightness);
 hsl(hue saturation lightness / alpha);

 div {
  background-color: hsl(286, 21%, 23%);
  }

Saturation value is a percentage value between 0% unsaturated and 100% fully saturated.
Lightness value is a percentage value between 100% is white and 0% is black.

Lighter and darker colors of #422f48

RGB Code Hex Code Preview
rgb(66, 47, 72, 10%) #422f481a  
rgb(66, 47, 72, 20%) #422f4833  
rgb(66, 47, 72, 40%) #422f484C  
rgb(66, 47, 72, 60%) #422f4899  
rgb(66, 47, 72, 80%) #422f48CC  
rgb(66, 47, 72, 100%) #422f48FF  

Saturated and desaturated colors of #422f48

HSL Code Preview
hsl(286, 10%, 23%)  
hsl(286, 20%, 23%)  
hsl(286, 40%, 23%)  
hsl(286, 60%, 23%)  
hsl(286, 80%, 23%)  
hsl(286, 100%, 23%)  

#422f48 Color Usage In CSS

 body {
    color: #422f48;
    }
 p {
    color: rgb(66, 47, 72);
    }
 header {
    border-bottom:1px solid #422f48;
    }
Recent Random Colors