Random Color Generator

#cd257c Color

Color Codes
Hex Code #cd257c
RGB Code rgb(205, 37, 124)
HSL Code hsl(329, 69%, 47%)

#cd257c Color Syntax

rgb()

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

 main {
    background-color: rgb(205, 37, 124);
   }

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(329, 69%, 47%);
  }

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

RGB Code Hex Code Preview
rgb(205, 37, 124, 10%) #cd257c1a  
rgb(205, 37, 124, 20%) #cd257c33  
rgb(205, 37, 124, 40%) #cd257c4C  
rgb(205, 37, 124, 60%) #cd257c99  
rgb(205, 37, 124, 80%) #cd257cCC  
rgb(205, 37, 124, 100%) #cd257cFF  

Saturated and desaturated colors of #cd257c

HSL Code Preview
hsl(329, 10%, 47%)  
hsl(329, 20%, 47%)  
hsl(329, 40%, 47%)  
hsl(329, 60%, 47%)  
hsl(329, 80%, 47%)  
hsl(329, 100%, 47%)  

#cd257c Color Usage In CSS

 body {
    color: #cd257c;
    }
 p {
    color: rgb(205, 37, 124);
    }
 header {
    border-bottom:1px solid #cd257c;
    }
Recent Random Colors