Random Color Generator

#422e70 Color

Color Codes
Hex Code #422e70
RGB Code rgb(66, 46, 112)
HSL Code hsl(258, 42%, 31%)

#422e70 Color Syntax

rgb()

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

 main {
    background-color: rgb(66, 46, 112);
   }

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(258, 42%, 31%);
  }

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 #422e70

RGB Code Hex Code Preview
rgb(66, 46, 112, 10%) #422e701a  
rgb(66, 46, 112, 20%) #422e7033  
rgb(66, 46, 112, 40%) #422e704C  
rgb(66, 46, 112, 60%) #422e7099  
rgb(66, 46, 112, 80%) #422e70CC  
rgb(66, 46, 112, 100%) #422e70FF  

Saturated and desaturated colors of #422e70

HSL Code Preview
hsl(258, 10%, 31%)  
hsl(258, 20%, 31%)  
hsl(258, 40%, 31%)  
hsl(258, 60%, 31%)  
hsl(258, 80%, 31%)  
hsl(258, 100%, 31%)  

#422e70 Color Usage In CSS

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