Random Color Generator

#f26331 Color

Color Codes
Hex Code #f26331
RGB Code rgb(242, 99, 49)
HSL Code hsl(16, 88%, 57%)

#f26331 Color Syntax

rgb()

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

 main {
    background-color: rgb(242, 99, 49);
   }

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(16, 88%, 57%);
  }

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

RGB Code Hex Code Preview
rgb(242, 99, 49, 10%) #f263311a  
rgb(242, 99, 49, 20%) #f2633133  
rgb(242, 99, 49, 40%) #f263314C  
rgb(242, 99, 49, 60%) #f2633199  
rgb(242, 99, 49, 80%) #f26331CC  
rgb(242, 99, 49, 100%) #f26331FF  

Saturated and desaturated colors of #f26331

HSL Code Preview
hsl(16, 10%, 57%)  
hsl(16, 20%, 57%)  
hsl(16, 40%, 57%)  
hsl(16, 60%, 57%)  
hsl(16, 80%, 57%)  
hsl(16, 100%, 57%)  

#f26331 Color Usage In CSS

 body {
    color: #f26331;
    }
 p {
    color: rgb(242, 99, 49);
    }
 header {
    border-bottom:1px solid #f26331;
    }
Recent Random Colors