Random Color Generator

#f2bd46 Color

Color Codes
Hex Code #f2bd46
RGB Code rgb(242, 189, 70)
HSL Code hsl(42, 87%, 61%)

#f2bd46 Color Syntax

rgb()

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

 main {
    background-color: rgb(242, 189, 70);
   }

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(42, 87%, 61%);
  }

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

RGB Code Hex Code Preview
rgb(242, 189, 70, 10%) #f2bd461a  
rgb(242, 189, 70, 20%) #f2bd4633  
rgb(242, 189, 70, 40%) #f2bd464C  
rgb(242, 189, 70, 60%) #f2bd4699  
rgb(242, 189, 70, 80%) #f2bd46CC  
rgb(242, 189, 70, 100%) #f2bd46FF  

Saturated and desaturated colors of #f2bd46

HSL Code Preview
hsl(42, 10%, 61%)  
hsl(42, 20%, 61%)  
hsl(42, 40%, 61%)  
hsl(42, 60%, 61%)  
hsl(42, 80%, 61%)  
hsl(42, 100%, 61%)  

#f2bd46 Color Usage In CSS

 body {
    color: #f2bd46;
    }
 p {
    color: rgb(242, 189, 70);
    }
 header {
    border-bottom:1px solid #f2bd46;
    }
Recent Random Colors