Random Color Generator

#f1c213 Color

Color Codes
Hex Code #f1c213
RGB Code rgb(241, 194, 19)
HSL Code hsl(47, 89%, 51%)

#f1c213 Color Syntax

rgb()

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

 main {
    background-color: rgb(241, 194, 19);
   }

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, 89%, 51%);
  }

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

RGB Code Hex Code Preview
rgb(241, 194, 19, 10%) #f1c2131a  
rgb(241, 194, 19, 20%) #f1c21333  
rgb(241, 194, 19, 40%) #f1c2134C  
rgb(241, 194, 19, 60%) #f1c21399  
rgb(241, 194, 19, 80%) #f1c213CC  
rgb(241, 194, 19, 100%) #f1c213FF  

Saturated and desaturated colors of #f1c213

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

#f1c213 Color Usage In CSS

 body {
    color: #f1c213;
    }
 p {
    color: rgb(241, 194, 19);
    }
 header {
    border-bottom:1px solid #f1c213;
    }
Recent Random Colors