Random Color Generator

#f1e296 Color

Color Codes
Hex Code #f1e296
RGB Code rgb(241, 226, 150)
HSL Code hsl(50, 76%, 77%)

#f1e296 Color Syntax

rgb()

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

 main {
    background-color: rgb(241, 226, 150);
   }

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(50, 76%, 77%);
  }

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

RGB Code Hex Code Preview
rgb(241, 226, 150, 10%) #f1e2961a  
rgb(241, 226, 150, 20%) #f1e29633  
rgb(241, 226, 150, 40%) #f1e2964C  
rgb(241, 226, 150, 60%) #f1e29699  
rgb(241, 226, 150, 80%) #f1e296CC  
rgb(241, 226, 150, 100%) #f1e296FF  

Saturated and desaturated colors of #f1e296

HSL Code Preview
hsl(50, 10%, 77%)  
hsl(50, 20%, 77%)  
hsl(50, 40%, 77%)  
hsl(50, 60%, 77%)  
hsl(50, 80%, 77%)  
hsl(50, 100%, 77%)  

#f1e296 Color Usage In CSS

 body {
    color: #f1e296;
    }
 p {
    color: rgb(241, 226, 150);
    }
 header {
    border-bottom:1px solid #f1e296;
    }
Recent Random Colors