Random Color Generator

#f6c204 Color

Color Codes
Hex Code #f6c204
RGB Code rgb(246, 194, 04)
HSL Code hsl(47, 97%, 49%)

#f6c204 Color Syntax

rgb()

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

 main {
    background-color: rgb(246, 194, 04);
   }

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, 97%, 49%);
  }

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

RGB Code Hex Code Preview
rgb(246, 194, 04, 10%) #f6c2041a  
rgb(246, 194, 04, 20%) #f6c20433  
rgb(246, 194, 04, 40%) #f6c2044C  
rgb(246, 194, 04, 60%) #f6c20499  
rgb(246, 194, 04, 80%) #f6c204CC  
rgb(246, 194, 04, 100%) #f6c204FF  

Saturated and desaturated colors of #f6c204

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

#f6c204 Color Usage In CSS

 body {
    color: #f6c204;
    }
 p {
    color: rgb(246, 194, 04);
    }
 header {
    border-bottom:1px solid #f6c204;
    }
Recent Random Colors