Random Color Generator

#c4150c Color

Color Codes
Hex Code #c4150c
RGB Code rgb(196, 21, 12)
HSL Code hsl(3, 88%, 41%)

#c4150c Color Syntax

rgb()

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

 main {
    background-color: rgb(196, 21, 12);
   }

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(3, 88%, 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 #c4150c

RGB Code Hex Code Preview
rgb(196, 21, 12, 10%) #c4150c1a  
rgb(196, 21, 12, 20%) #c4150c33  
rgb(196, 21, 12, 40%) #c4150c4C  
rgb(196, 21, 12, 60%) #c4150c99  
rgb(196, 21, 12, 80%) #c4150cCC  
rgb(196, 21, 12, 100%) #c4150cFF  

Saturated and desaturated colors of #c4150c

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

#c4150c Color Usage In CSS

 body {
    color: #c4150c;
    }
 p {
    color: rgb(196, 21, 12);
    }
 header {
    border-bottom:1px solid #c4150c;
    }
Recent Random Colors