Random Color Generator

#48d987 Color

Color Codes
Hex Code #48d987
RGB Code rgb(72, 217, 135)
HSL Code hsl(146, 66%, 57%)

#48d987 Color Syntax

rgb()

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

 main {
    background-color: rgb(72, 217, 135);
   }

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(146, 66%, 57%);
  }

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 #48d987

RGB Code Hex Code Preview
rgb(72, 217, 135, 10%) #48d9871a  
rgb(72, 217, 135, 20%) #48d98733  
rgb(72, 217, 135, 40%) #48d9874C  
rgb(72, 217, 135, 60%) #48d98799  
rgb(72, 217, 135, 80%) #48d987CC  
rgb(72, 217, 135, 100%) #48d987FF  

Saturated and desaturated colors of #48d987

HSL Code Preview
hsl(146, 10%, 57%)  
hsl(146, 20%, 57%)  
hsl(146, 40%, 57%)  
hsl(146, 60%, 57%)  
hsl(146, 80%, 57%)  
hsl(146, 100%, 57%)  

#48d987 Color Usage In CSS

 body {
    color: #48d987;
    }
 p {
    color: rgb(72, 217, 135);
    }
 header {
    border-bottom:1px solid #48d987;
    }
Recent Random Colors