Random Color Generator

#f1e526 Color

Color Codes
Hex Code #f1e526
RGB Code rgb(241, 229, 38)
HSL Code hsl(56, 88%, 55%)

#f1e526 Color Syntax

rgb()

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

 main {
    background-color: rgb(241, 229, 38);
   }

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(56, 88%, 55%);
  }

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

RGB Code Hex Code Preview
rgb(241, 229, 38, 10%) #f1e5261a  
rgb(241, 229, 38, 20%) #f1e52633  
rgb(241, 229, 38, 40%) #f1e5264C  
rgb(241, 229, 38, 60%) #f1e52699  
rgb(241, 229, 38, 80%) #f1e526CC  
rgb(241, 229, 38, 100%) #f1e526FF  

Saturated and desaturated colors of #f1e526

HSL Code Preview
hsl(56, 10%, 55%)  
hsl(56, 20%, 55%)  
hsl(56, 40%, 55%)  
hsl(56, 60%, 55%)  
hsl(56, 80%, 55%)  
hsl(56, 100%, 55%)  

#f1e526 Color Usage In CSS

 body {
    color: #f1e526;
    }
 p {
    color: rgb(241, 229, 38);
    }
 header {
    border-bottom:1px solid #f1e526;
    }
Recent Random Colors