Random Color Generator

#cf1a87 Color

Color Codes
Hex Code #cf1a87
RGB Code rgb(207, 26, 135)
HSL Code hsl(324, 78%, 46%)

#cf1a87 Color Syntax

rgb()

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

 main {
    background-color: rgb(207, 26, 135);
   }

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(324, 78%, 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 #cf1a87

RGB Code Hex Code Preview
rgb(207, 26, 135, 10%) #cf1a871a  
rgb(207, 26, 135, 20%) #cf1a8733  
rgb(207, 26, 135, 40%) #cf1a874C  
rgb(207, 26, 135, 60%) #cf1a8799  
rgb(207, 26, 135, 80%) #cf1a87CC  
rgb(207, 26, 135, 100%) #cf1a87FF  

Saturated and desaturated colors of #cf1a87

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

#cf1a87 Color Usage In CSS

 body {
    color: #cf1a87;
    }
 p {
    color: rgb(207, 26, 135);
    }
 header {
    border-bottom:1px solid #cf1a87;
    }
Recent Random Colors