Random Color Generator

#543a6c Color

Color Codes
Hex Code #543a6c
RGB Code rgb(84, 58, 108)
HSL Code hsl(271, 30%, 33%)

#543a6c Color Syntax

rgb()

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

 main {
    background-color: rgb(84, 58, 108);
   }

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(271, 30%, 33%);
  }

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 #543a6c

RGB Code Hex Code Preview
rgb(84, 58, 108, 10%) #543a6c1a  
rgb(84, 58, 108, 20%) #543a6c33  
rgb(84, 58, 108, 40%) #543a6c4C  
rgb(84, 58, 108, 60%) #543a6c99  
rgb(84, 58, 108, 80%) #543a6cCC  
rgb(84, 58, 108, 100%) #543a6cFF  

Saturated and desaturated colors of #543a6c

HSL Code Preview
hsl(271, 10%, 33%)  
hsl(271, 20%, 33%)  
hsl(271, 40%, 33%)  
hsl(271, 60%, 33%)  
hsl(271, 80%, 33%)  
hsl(271, 100%, 33%)  

#543a6c Color Usage In CSS

 body {
    color: #543a6c;
    }
 p {
    color: rgb(84, 58, 108);
    }
 header {
    border-bottom:1px solid #543a6c;
    }
Recent Random Colors