Random Color Generator

#1ca141 Color

Color Codes
Hex Code #1ca141
RGB Code rgb(28, 161, 65)
HSL Code hsl(137, 70%, 37%)

#1ca141 Color Syntax

rgb()

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

 main {
    background-color: rgb(28, 161, 65);
   }

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(137, 70%, 37%);
  }

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 #1ca141

RGB Code Hex Code Preview
rgb(28, 161, 65, 10%) #1ca1411a  
rgb(28, 161, 65, 20%) #1ca14133  
rgb(28, 161, 65, 40%) #1ca1414C  
rgb(28, 161, 65, 60%) #1ca14199  
rgb(28, 161, 65, 80%) #1ca141CC  
rgb(28, 161, 65, 100%) #1ca141FF  

Saturated and desaturated colors of #1ca141

HSL Code Preview
hsl(137, 10%, 37%)  
hsl(137, 20%, 37%)  
hsl(137, 40%, 37%)  
hsl(137, 60%, 37%)  
hsl(137, 80%, 37%)  
hsl(137, 100%, 37%)  

#1ca141 Color Usage In CSS

 body {
    color: #1ca141;
    }
 p {
    color: rgb(28, 161, 65);
    }
 header {
    border-bottom:1px solid #1ca141;
    }
Recent Random Colors