Random Color Generator

#f1d674 Color

Color Codes
Hex Code #f1d674
RGB Code rgb(241, 214, 116)
HSL Code hsl(47, 82%, 70%)

#f1d674 Color Syntax

rgb()

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

 main {
    background-color: rgb(241, 214, 116);
   }

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(47, 82%, 70%);
  }

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

RGB Code Hex Code Preview
rgb(241, 214, 116, 10%) #f1d6741a  
rgb(241, 214, 116, 20%) #f1d67433  
rgb(241, 214, 116, 40%) #f1d6744C  
rgb(241, 214, 116, 60%) #f1d67499  
rgb(241, 214, 116, 80%) #f1d674CC  
rgb(241, 214, 116, 100%) #f1d674FF  

Saturated and desaturated colors of #f1d674

HSL Code Preview
hsl(47, 10%, 70%)  
hsl(47, 20%, 70%)  
hsl(47, 40%, 70%)  
hsl(47, 60%, 70%)  
hsl(47, 80%, 70%)  
hsl(47, 100%, 70%)  

#f1d674 Color Usage In CSS

 body {
    color: #f1d674;
    }
 p {
    color: rgb(241, 214, 116);
    }
 header {
    border-bottom:1px solid #f1d674;
    }
Recent Random Colors