Random Color Generator

#cb28b7 Color

Color Codes
Hex Code #cb28b7
RGB Code rgb(203, 40, 183)
HSL Code hsl(307, 67%, 48%)

#cb28b7 Color Syntax

rgb()

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

 main {
    background-color: rgb(203, 40, 183);
   }

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, 67%, 48%);
  }

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

RGB Code Hex Code Preview
rgb(203, 40, 183, 10%) #cb28b71a  
rgb(203, 40, 183, 20%) #cb28b733  
rgb(203, 40, 183, 40%) #cb28b74C  
rgb(203, 40, 183, 60%) #cb28b799  
rgb(203, 40, 183, 80%) #cb28b7CC  
rgb(203, 40, 183, 100%) #cb28b7FF  

Saturated and desaturated colors of #cb28b7

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

#cb28b7 Color Usage In CSS

 body {
    color: #cb28b7;
    }
 p {
    color: rgb(203, 40, 183);
    }
 header {
    border-bottom:1px solid #cb28b7;
    }
Recent Random Colors