Random Color Generator

#04e278 Color

Color Codes
Hex Code #04e278
RGB Code rgb(04, 226, 120)
HSL Code hsl(151, 97%, 45%)

#04e278 Color Syntax

rgb()

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

 main {
    background-color: rgb(04, 226, 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(151, 97%, 45%);
  }

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

RGB Code Hex Code Preview
rgb(04, 226, 120, 10%) #04e2781a  
rgb(04, 226, 120, 20%) #04e27833  
rgb(04, 226, 120, 40%) #04e2784C  
rgb(04, 226, 120, 60%) #04e27899  
rgb(04, 226, 120, 80%) #04e278CC  
rgb(04, 226, 120, 100%) #04e278FF  

Saturated and desaturated colors of #04e278

HSL Code Preview
hsl(151, 10%, 45%)  
hsl(151, 20%, 45%)  
hsl(151, 40%, 45%)  
hsl(151, 60%, 45%)  
hsl(151, 80%, 45%)  
hsl(151, 100%, 45%)  

#04e278 Color Usage In CSS

 body {
    color: #04e278;
    }
 p {
    color: rgb(04, 226, 120);
    }
 header {
    border-bottom:1px solid #04e278;
    }
Recent Random Colors