Random Color Generator

#f55228 Color

Color Codes
Hex Code #f55228
RGB Code rgb(245, 82, 40)
HSL Code hsl(12, 91%, 56%)

#f55228 Color Syntax

rgb()

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

 main {
    background-color: rgb(245, 82, 40);
   }

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(12, 91%, 56%);
  }

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

RGB Code Hex Code Preview
rgb(245, 82, 40, 10%) #f552281a  
rgb(245, 82, 40, 20%) #f5522833  
rgb(245, 82, 40, 40%) #f552284C  
rgb(245, 82, 40, 60%) #f5522899  
rgb(245, 82, 40, 80%) #f55228CC  
rgb(245, 82, 40, 100%) #f55228FF  

Saturated and desaturated colors of #f55228

HSL Code Preview
hsl(12, 10%, 56%)  
hsl(12, 20%, 56%)  
hsl(12, 40%, 56%)  
hsl(12, 60%, 56%)  
hsl(12, 80%, 56%)  
hsl(12, 100%, 56%)  

#f55228 Color Usage In CSS

 body {
    color: #f55228;
    }
 p {
    color: rgb(245, 82, 40);
    }
 header {
    border-bottom:1px solid #f55228;
    }
Recent Random Colors