Random Color Generator

#c54946 Color

Color Codes
Hex Code #c54946
RGB Code rgb(197, 73, 70)
HSL Code hsl(1, 52%, 52%)

#c54946 Color Syntax

rgb()

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

 main {
    background-color: rgb(197, 73, 70);
   }

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(1, 52%, 52%);
  }

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

RGB Code Hex Code Preview
rgb(197, 73, 70, 10%) #c549461a  
rgb(197, 73, 70, 20%) #c5494633  
rgb(197, 73, 70, 40%) #c549464C  
rgb(197, 73, 70, 60%) #c5494699  
rgb(197, 73, 70, 80%) #c54946CC  
rgb(197, 73, 70, 100%) #c54946FF  

Saturated and desaturated colors of #c54946

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

#c54946 Color Usage In CSS

 body {
    color: #c54946;
    }
 p {
    color: rgb(197, 73, 70);
    }
 header {
    border-bottom:1px solid #c54946;
    }
Recent Random Colors