Random Color Generator

#f1f85a Color

Color Codes
Hex Code #f1f85a
RGB Code rgb(241, 248, 90)
HSL Code hsl(63, 92%, 66%)

#f1f85a Color Syntax

rgb()

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

 main {
    background-color: rgb(241, 248, 90);
   }

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(63, 92%, 66%);
  }

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

RGB Code Hex Code Preview
rgb(241, 248, 90, 10%) #f1f85a1a  
rgb(241, 248, 90, 20%) #f1f85a33  
rgb(241, 248, 90, 40%) #f1f85a4C  
rgb(241, 248, 90, 60%) #f1f85a99  
rgb(241, 248, 90, 80%) #f1f85aCC  
rgb(241, 248, 90, 100%) #f1f85aFF  

Saturated and desaturated colors of #f1f85a

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

#f1f85a Color Usage In CSS

 body {
    color: #f1f85a;
    }
 p {
    color: rgb(241, 248, 90);
    }
 header {
    border-bottom:1px solid #f1f85a;
    }
Recent Random Colors