Random Color Generator

#ca052f Color

Color Codes
Hex Code #ca052f
RGB Code rgb(202, 05, 47)
HSL Code hsl(347, 95%, 41%)

#ca052f Color Syntax

rgb()

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

 main {
    background-color: rgb(202, 05, 47);
   }

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(347, 95%, 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 #ca052f

RGB Code Hex Code Preview
rgb(202, 05, 47, 10%) #ca052f1a  
rgb(202, 05, 47, 20%) #ca052f33  
rgb(202, 05, 47, 40%) #ca052f4C  
rgb(202, 05, 47, 60%) #ca052f99  
rgb(202, 05, 47, 80%) #ca052fCC  
rgb(202, 05, 47, 100%) #ca052fFF  

Saturated and desaturated colors of #ca052f

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

#ca052f Color Usage In CSS

 body {
    color: #ca052f;
    }
 p {
    color: rgb(202, 05, 47);
    }
 header {
    border-bottom:1px solid #ca052f;
    }
Recent Random Colors