Random Color Generator

#f82635 Color

Color Codes
Hex Code #f82635
RGB Code rgb(248, 38, 53)
HSL Code hsl(356, 94%, 56%)

#f82635 Color Syntax

rgb()

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

 main {
    background-color: rgb(248, 38, 53);
   }

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(356, 94%, 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 #f82635

RGB Code Hex Code Preview
rgb(248, 38, 53, 10%) #f826351a  
rgb(248, 38, 53, 20%) #f8263533  
rgb(248, 38, 53, 40%) #f826354C  
rgb(248, 38, 53, 60%) #f8263599  
rgb(248, 38, 53, 80%) #f82635CC  
rgb(248, 38, 53, 100%) #f82635FF  

Saturated and desaturated colors of #f82635

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

#f82635 Color Usage In CSS

 body {
    color: #f82635;
    }
 p {
    color: rgb(248, 38, 53);
    }
 header {
    border-bottom:1px solid #f82635;
    }
Recent Random Colors