Random Color Generator

#cd22cb Color

Color Codes
Hex Code #cd22cb
RGB Code rgb(205, 34, 203)
HSL Code hsl(301, 72%, 47%)

#cd22cb Color Syntax

rgb()

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

 main {
    background-color: rgb(205, 34, 203);
   }

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(301, 72%, 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 #cd22cb

RGB Code Hex Code Preview
rgb(205, 34, 203, 10%) #cd22cb1a  
rgb(205, 34, 203, 20%) #cd22cb33  
rgb(205, 34, 203, 40%) #cd22cb4C  
rgb(205, 34, 203, 60%) #cd22cb99  
rgb(205, 34, 203, 80%) #cd22cbCC  
rgb(205, 34, 203, 100%) #cd22cbFF  

Saturated and desaturated colors of #cd22cb

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

#cd22cb Color Usage In CSS

 body {
    color: #cd22cb;
    }
 p {
    color: rgb(205, 34, 203);
    }
 header {
    border-bottom:1px solid #cd22cb;
    }
Recent Random Colors