Random Color Generator

#ca1ab5 Color

Color Codes
Hex Code #ca1ab5
RGB Code rgb(202, 26, 181)
HSL Code hsl(307, 77%, 45%)

#ca1ab5 Color Syntax

rgb()

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

 main {
    background-color: rgb(202, 26, 181);
   }

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(307, 77%, 45%);
  }

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

RGB Code Hex Code Preview
rgb(202, 26, 181, 10%) #ca1ab51a  
rgb(202, 26, 181, 20%) #ca1ab533  
rgb(202, 26, 181, 40%) #ca1ab54C  
rgb(202, 26, 181, 60%) #ca1ab599  
rgb(202, 26, 181, 80%) #ca1ab5CC  
rgb(202, 26, 181, 100%) #ca1ab5FF  

Saturated and desaturated colors of #ca1ab5

HSL Code Preview
hsl(307, 10%, 45%)  
hsl(307, 20%, 45%)  
hsl(307, 40%, 45%)  
hsl(307, 60%, 45%)  
hsl(307, 80%, 45%)  
hsl(307, 100%, 45%)  

#ca1ab5 Color Usage In CSS

 body {
    color: #ca1ab5;
    }
 p {
    color: rgb(202, 26, 181);
    }
 header {
    border-bottom:1px solid #ca1ab5;
    }
Recent Random Colors