Random Color Generator

#cfe12a Color

Color Codes
Hex Code #cfe12a
RGB Code rgb(207, 225, 42)
HSL Code hsl(66, 75%, 52%)

#cfe12a Color Syntax

rgb()

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

 main {
    background-color: rgb(207, 225, 42);
   }

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(66, 75%, 52%);
  }

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 #cfe12a

RGB Code Hex Code Preview
rgb(207, 225, 42, 10%) #cfe12a1a  
rgb(207, 225, 42, 20%) #cfe12a33  
rgb(207, 225, 42, 40%) #cfe12a4C  
rgb(207, 225, 42, 60%) #cfe12a99  
rgb(207, 225, 42, 80%) #cfe12aCC  
rgb(207, 225, 42, 100%) #cfe12aFF  

Saturated and desaturated colors of #cfe12a

HSL Code Preview
hsl(66, 10%, 52%)  
hsl(66, 20%, 52%)  
hsl(66, 40%, 52%)  
hsl(66, 60%, 52%)  
hsl(66, 80%, 52%)  
hsl(66, 100%, 52%)  

#cfe12a Color Usage In CSS

 body {
    color: #cfe12a;
    }
 p {
    color: rgb(207, 225, 42);
    }
 header {
    border-bottom:1px solid #cfe12a;
    }
Recent Random Colors