Random Color Generator

#04ac42 Color

Color Codes
Hex Code #04ac42
RGB Code rgb(04, 172, 66)
HSL Code hsl(142, 95%, 35%)

#04ac42 Color Syntax

rgb()

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

 main {
    background-color: rgb(04, 172, 66);
   }

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(142, 95%, 35%);
  }

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 #04ac42

RGB Code Hex Code Preview
rgb(04, 172, 66, 10%) #04ac421a  
rgb(04, 172, 66, 20%) #04ac4233  
rgb(04, 172, 66, 40%) #04ac424C  
rgb(04, 172, 66, 60%) #04ac4299  
rgb(04, 172, 66, 80%) #04ac42CC  
rgb(04, 172, 66, 100%) #04ac42FF  

Saturated and desaturated colors of #04ac42

HSL Code Preview
hsl(142, 10%, 35%)  
hsl(142, 20%, 35%)  
hsl(142, 40%, 35%)  
hsl(142, 60%, 35%)  
hsl(142, 80%, 35%)  
hsl(142, 100%, 35%)  

#04ac42 Color Usage In CSS

 body {
    color: #04ac42;
    }
 p {
    color: rgb(04, 172, 66);
    }
 header {
    border-bottom:1px solid #04ac42;
    }
Recent Random Colors