Random Color Generator

#c55252 Color

Color Codes
Hex Code #c55252
RGB Code rgb(197, 82, 82)
HSL Code hsl(0, 50%, 55%)

#c55252 Color Syntax

rgb()

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

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

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(0, 50%, 55%);
  }

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

RGB Code Hex Code Preview
rgb(197, 82, 82, 10%) #c552521a  
rgb(197, 82, 82, 20%) #c5525233  
rgb(197, 82, 82, 40%) #c552524C  
rgb(197, 82, 82, 60%) #c5525299  
rgb(197, 82, 82, 80%) #c55252CC  
rgb(197, 82, 82, 100%) #c55252FF  

Saturated and desaturated colors of #c55252

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

#c55252 Color Usage In CSS

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