Random Color Generator

#c5015e Color

Color Codes
Hex Code #c5015e
RGB Code rgb(197, 01, 94)
HSL Code hsl(332, 99%, 39%)

#c5015e Color Syntax

rgb()

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

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

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(332, 99%, 39%);
  }

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

RGB Code Hex Code Preview
rgb(197, 01, 94, 10%) #c5015e1a  
rgb(197, 01, 94, 20%) #c5015e33  
rgb(197, 01, 94, 40%) #c5015e4C  
rgb(197, 01, 94, 60%) #c5015e99  
rgb(197, 01, 94, 80%) #c5015eCC  
rgb(197, 01, 94, 100%) #c5015eFF  

Saturated and desaturated colors of #c5015e

HSL Code Preview
hsl(332, 10%, 39%)  
hsl(332, 20%, 39%)  
hsl(332, 40%, 39%)  
hsl(332, 60%, 39%)  
hsl(332, 80%, 39%)  
hsl(332, 100%, 39%)  

#c5015e Color Usage In CSS

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