Random Color Generator

#c81f09 Color

Color Codes
Hex Code #c81f09
RGB Code rgb(200, 31, 09)
HSL Code hsl(7, 91%, 41%)

#c81f09 Color Syntax

rgb()

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

 main {
    background-color: rgb(200, 31, 09);
   }

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

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

RGB Code Hex Code Preview
rgb(200, 31, 09, 10%) #c81f091a  
rgb(200, 31, 09, 20%) #c81f0933  
rgb(200, 31, 09, 40%) #c81f094C  
rgb(200, 31, 09, 60%) #c81f0999  
rgb(200, 31, 09, 80%) #c81f09CC  
rgb(200, 31, 09, 100%) #c81f09FF  

Saturated and desaturated colors of #c81f09

HSL Code Preview
hsl(7, 10%, 41%)  
hsl(7, 20%, 41%)  
hsl(7, 40%, 41%)  
hsl(7, 60%, 41%)  
hsl(7, 80%, 41%)  
hsl(7, 100%, 41%)  

#c81f09 Color Usage In CSS

 body {
    color: #c81f09;
    }
 p {
    color: rgb(200, 31, 09);
    }
 header {
    border-bottom:1px solid #c81f09;
    }
Recent Random Colors