Random Color Generator

#143e15 Color

Color Codes
Hex Code #143e15
RGB Code rgb(20, 62, 21)
HSL Code hsl(121, 51%, 16%)

#143e15 Color Syntax

rgb()

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

 main {
    background-color: rgb(20, 62, 21);
   }

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(121, 51%, 16%);
  }

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 #143e15

RGB Code Hex Code Preview
rgb(20, 62, 21, 10%) #143e151a  
rgb(20, 62, 21, 20%) #143e1533  
rgb(20, 62, 21, 40%) #143e154C  
rgb(20, 62, 21, 60%) #143e1599  
rgb(20, 62, 21, 80%) #143e15CC  
rgb(20, 62, 21, 100%) #143e15FF  

Saturated and desaturated colors of #143e15

HSL Code Preview
hsl(121, 10%, 16%)  
hsl(121, 20%, 16%)  
hsl(121, 40%, 16%)  
hsl(121, 60%, 16%)  
hsl(121, 80%, 16%)  
hsl(121, 100%, 16%)  

#143e15 Color Usage In CSS

 body {
    color: #143e15;
    }
 p {
    color: rgb(20, 62, 21);
    }
 header {
    border-bottom:1px solid #143e15;
    }
Recent Random Colors