Random Color Generator

#158b7a Color

Color Codes
Hex Code #158b7a
RGB Code rgb(21, 139, 122)
HSL Code hsl(171, 74%, 31%)

#158b7a Color Syntax

rgb()

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

 main {
    background-color: rgb(21, 139, 122);
   }

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(171, 74%, 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 #158b7a

RGB Code Hex Code Preview
rgb(21, 139, 122, 10%) #158b7a1a  
rgb(21, 139, 122, 20%) #158b7a33  
rgb(21, 139, 122, 40%) #158b7a4C  
rgb(21, 139, 122, 60%) #158b7a99  
rgb(21, 139, 122, 80%) #158b7aCC  
rgb(21, 139, 122, 100%) #158b7aFF  

Saturated and desaturated colors of #158b7a

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

#158b7a Color Usage In CSS

 body {
    color: #158b7a;
    }
 p {
    color: rgb(21, 139, 122);
    }
 header {
    border-bottom:1px solid #158b7a;
    }
Recent Random Colors