Random Color Generator

#5a435b Color

Color Codes
Hex Code #5a435b
RGB Code rgb(90, 67, 91)
HSL Code hsl(298, 15%, 31%)

#5a435b Color Syntax

rgb()

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

 main {
    background-color: rgb(90, 67, 91);
   }

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(298, 15%, 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 #5a435b

RGB Code Hex Code Preview
rgb(90, 67, 91, 10%) #5a435b1a  
rgb(90, 67, 91, 20%) #5a435b33  
rgb(90, 67, 91, 40%) #5a435b4C  
rgb(90, 67, 91, 60%) #5a435b99  
rgb(90, 67, 91, 80%) #5a435bCC  
rgb(90, 67, 91, 100%) #5a435bFF  

Saturated and desaturated colors of #5a435b

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

#5a435b Color Usage In CSS

 body {
    color: #5a435b;
    }
 p {
    color: rgb(90, 67, 91);
    }
 header {
    border-bottom:1px solid #5a435b;
    }
Recent Random Colors