Random Color Generator

#f2bb13 Color

Color Codes
Hex Code #f2bb13
RGB Code rgb(242, 187, 19)
HSL Code hsl(45, 90%, 51%)

#f2bb13 Color Syntax

rgb()

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

 main {
    background-color: rgb(242, 187, 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(45, 90%, 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 #f2bb13

RGB Code Hex Code Preview
rgb(242, 187, 19, 10%) #f2bb131a  
rgb(242, 187, 19, 20%) #f2bb1333  
rgb(242, 187, 19, 40%) #f2bb134C  
rgb(242, 187, 19, 60%) #f2bb1399  
rgb(242, 187, 19, 80%) #f2bb13CC  
rgb(242, 187, 19, 100%) #f2bb13FF  

Saturated and desaturated colors of #f2bb13

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

#f2bb13 Color Usage In CSS

 body {
    color: #f2bb13;
    }
 p {
    color: rgb(242, 187, 19);
    }
 header {
    border-bottom:1px solid #f2bb13;
    }
Recent Random Colors