Random Color Generator

#c50e08 Color

Color Codes
Hex Code #c50e08
RGB Code rgb(197, 14, 08)
HSL Code hsl(2, 92%, 40%)

#c50e08 Color Syntax

rgb()

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

 main {
    background-color: rgb(197, 14, 08);
   }

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(2, 92%, 40%);
  }

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

RGB Code Hex Code Preview
rgb(197, 14, 08, 10%) #c50e081a  
rgb(197, 14, 08, 20%) #c50e0833  
rgb(197, 14, 08, 40%) #c50e084C  
rgb(197, 14, 08, 60%) #c50e0899  
rgb(197, 14, 08, 80%) #c50e08CC  
rgb(197, 14, 08, 100%) #c50e08FF  

Saturated and desaturated colors of #c50e08

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

#c50e08 Color Usage In CSS

 body {
    color: #c50e08;
    }
 p {
    color: rgb(197, 14, 08);
    }
 header {
    border-bottom:1px solid #c50e08;
    }
Recent Random Colors