Random Color Generator

#21492f Color

Color Codes
Hex Code #21492f
RGB Code rgb(33, 73, 47)
HSL Code hsl(141, 38%, 21%)

#21492f Color Syntax

rgb()

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

 main {
    background-color: rgb(33, 73, 47);
   }

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(141, 38%, 21%);
  }

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 #21492f

RGB Code Hex Code Preview
rgb(33, 73, 47, 10%) #21492f1a  
rgb(33, 73, 47, 20%) #21492f33  
rgb(33, 73, 47, 40%) #21492f4C  
rgb(33, 73, 47, 60%) #21492f99  
rgb(33, 73, 47, 80%) #21492fCC  
rgb(33, 73, 47, 100%) #21492fFF  

Saturated and desaturated colors of #21492f

HSL Code Preview
hsl(141, 10%, 21%)  
hsl(141, 20%, 21%)  
hsl(141, 40%, 21%)  
hsl(141, 60%, 21%)  
hsl(141, 80%, 21%)  
hsl(141, 100%, 21%)  

#21492f Color Usage In CSS

 body {
    color: #21492f;
    }
 p {
    color: rgb(33, 73, 47);
    }
 header {
    border-bottom:1px solid #21492f;
    }
Recent Random Colors