Random Color Generator

#c01525 Color

Color Codes
Hex Code #c01525
RGB Code rgb(192, 21, 37)
HSL Code hsl(354, 80%, 42%)

#c01525 Color Syntax

rgb()

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

 main {
    background-color: rgb(192, 21, 37);
   }

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(354, 80%, 42%);
  }

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

RGB Code Hex Code Preview
rgb(192, 21, 37, 10%) #c015251a  
rgb(192, 21, 37, 20%) #c0152533  
rgb(192, 21, 37, 40%) #c015254C  
rgb(192, 21, 37, 60%) #c0152599  
rgb(192, 21, 37, 80%) #c01525CC  
rgb(192, 21, 37, 100%) #c01525FF  

Saturated and desaturated colors of #c01525

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

#c01525 Color Usage In CSS

 body {
    color: #c01525;
    }
 p {
    color: rgb(192, 21, 37);
    }
 header {
    border-bottom:1px solid #c01525;
    }
Recent Random Colors