Random Color Generator

#46af78 Color

Color Codes
Hex Code #46af78
RGB Code rgb(70, 175, 120)
HSL Code hsl(149, 43%, 48%)

#46af78 Color Syntax

rgb()

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

 main {
    background-color: rgb(70, 175, 120);
   }

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(149, 43%, 48%);
  }

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 #46af78

RGB Code Hex Code Preview
rgb(70, 175, 120, 10%) #46af781a  
rgb(70, 175, 120, 20%) #46af7833  
rgb(70, 175, 120, 40%) #46af784C  
rgb(70, 175, 120, 60%) #46af7899  
rgb(70, 175, 120, 80%) #46af78CC  
rgb(70, 175, 120, 100%) #46af78FF  

Saturated and desaturated colors of #46af78

HSL Code Preview
hsl(149, 10%, 48%)  
hsl(149, 20%, 48%)  
hsl(149, 40%, 48%)  
hsl(149, 60%, 48%)  
hsl(149, 80%, 48%)  
hsl(149, 100%, 48%)  

#46af78 Color Usage In CSS

 body {
    color: #46af78;
    }
 p {
    color: rgb(70, 175, 120);
    }
 header {
    border-bottom:1px solid #46af78;
    }
Recent Random Colors