Random Color Generator

#ca1757 Color

Color Codes
Hex Code #ca1757
RGB Code rgb(202, 23, 87)
HSL Code hsl(339, 80%, 44%)

#ca1757 Color Syntax

rgb()

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

 main {
    background-color: rgb(202, 23, 87);
   }

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(339, 80%, 44%);
  }

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

RGB Code Hex Code Preview
rgb(202, 23, 87, 10%) #ca17571a  
rgb(202, 23, 87, 20%) #ca175733  
rgb(202, 23, 87, 40%) #ca17574C  
rgb(202, 23, 87, 60%) #ca175799  
rgb(202, 23, 87, 80%) #ca1757CC  
rgb(202, 23, 87, 100%) #ca1757FF  

Saturated and desaturated colors of #ca1757

HSL Code Preview
hsl(339, 10%, 44%)  
hsl(339, 20%, 44%)  
hsl(339, 40%, 44%)  
hsl(339, 60%, 44%)  
hsl(339, 80%, 44%)  
hsl(339, 100%, 44%)  

#ca1757 Color Usage In CSS

 body {
    color: #ca1757;
    }
 p {
    color: rgb(202, 23, 87);
    }
 header {
    border-bottom:1px solid #ca1757;
    }
Recent Random Colors