Random Color Generator

#cb0a7c Color

Color Codes
Hex Code #cb0a7c
RGB Code rgb(203, 10, 124)
HSL Code hsl(325, 91%, 42%)

#cb0a7c Color Syntax

rgb()

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

 main {
    background-color: rgb(203, 10, 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(325, 91%, 42%);
  }

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

RGB Code Hex Code Preview
rgb(203, 10, 124, 10%) #cb0a7c1a  
rgb(203, 10, 124, 20%) #cb0a7c33  
rgb(203, 10, 124, 40%) #cb0a7c4C  
rgb(203, 10, 124, 60%) #cb0a7c99  
rgb(203, 10, 124, 80%) #cb0a7cCC  
rgb(203, 10, 124, 100%) #cb0a7cFF  

Saturated and desaturated colors of #cb0a7c

HSL Code Preview
hsl(325, 10%, 42%)  
hsl(325, 20%, 42%)  
hsl(325, 40%, 42%)  
hsl(325, 60%, 42%)  
hsl(325, 80%, 42%)  
hsl(325, 100%, 42%)  

#cb0a7c Color Usage In CSS

 body {
    color: #cb0a7c;
    }
 p {
    color: rgb(203, 10, 124);
    }
 header {
    border-bottom:1px solid #cb0a7c;
    }
Recent Random Colors