Random Color Generator

#c5288b Color

Color Codes
Hex Code #c5288b
RGB Code rgb(197, 40, 139)
HSL Code hsl(322, 66%, 46%)

#c5288b Color Syntax

rgb()

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

 main {
    background-color: rgb(197, 40, 139);
   }

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(322, 66%, 46%);
  }

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

RGB Code Hex Code Preview
rgb(197, 40, 139, 10%) #c5288b1a  
rgb(197, 40, 139, 20%) #c5288b33  
rgb(197, 40, 139, 40%) #c5288b4C  
rgb(197, 40, 139, 60%) #c5288b99  
rgb(197, 40, 139, 80%) #c5288bCC  
rgb(197, 40, 139, 100%) #c5288bFF  

Saturated and desaturated colors of #c5288b

HSL Code Preview
hsl(322, 10%, 46%)  
hsl(322, 20%, 46%)  
hsl(322, 40%, 46%)  
hsl(322, 60%, 46%)  
hsl(322, 80%, 46%)  
hsl(322, 100%, 46%)  

#c5288b Color Usage In CSS

 body {
    color: #c5288b;
    }
 p {
    color: rgb(197, 40, 139);
    }
 header {
    border-bottom:1px solid #c5288b;
    }
Recent Random Colors