Random Color Generator

#54a492 Color

Color Codes
Hex Code #54a492
RGB Code rgb(84, 164, 146)
HSL Code hsl(167, 32%, 49%)

#54a492 Color Syntax

rgb()

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

 main {
    background-color: rgb(84, 164, 146);
   }

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(167, 32%, 49%);
  }

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 #54a492

RGB Code Hex Code Preview
rgb(84, 164, 146, 10%) #54a4921a  
rgb(84, 164, 146, 20%) #54a49233  
rgb(84, 164, 146, 40%) #54a4924C  
rgb(84, 164, 146, 60%) #54a49299  
rgb(84, 164, 146, 80%) #54a492CC  
rgb(84, 164, 146, 100%) #54a492FF  

Saturated and desaturated colors of #54a492

HSL Code Preview
hsl(167, 10%, 49%)  
hsl(167, 20%, 49%)  
hsl(167, 40%, 49%)  
hsl(167, 60%, 49%)  
hsl(167, 80%, 49%)  
hsl(167, 100%, 49%)  

#54a492 Color Usage In CSS

 body {
    color: #54a492;
    }
 p {
    color: rgb(84, 164, 146);
    }
 header {
    border-bottom:1px solid #54a492;
    }
Recent Random Colors