Random Color Generator

#f561e9 Color

Color Codes
Hex Code #f561e9
RGB Code rgb(245, 97, 233)
HSL Code hsl(305, 88%, 67%)

#f561e9 Color Syntax

rgb()

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

 main {
    background-color: rgb(245, 97, 233);
   }

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(305, 88%, 67%);
  }

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

RGB Code Hex Code Preview
rgb(245, 97, 233, 10%) #f561e91a  
rgb(245, 97, 233, 20%) #f561e933  
rgb(245, 97, 233, 40%) #f561e94C  
rgb(245, 97, 233, 60%) #f561e999  
rgb(245, 97, 233, 80%) #f561e9CC  
rgb(245, 97, 233, 100%) #f561e9FF  

Saturated and desaturated colors of #f561e9

HSL Code Preview
hsl(305, 10%, 67%)  
hsl(305, 20%, 67%)  
hsl(305, 40%, 67%)  
hsl(305, 60%, 67%)  
hsl(305, 80%, 67%)  
hsl(305, 100%, 67%)  

#f561e9 Color Usage In CSS

 body {
    color: #f561e9;
    }
 p {
    color: rgb(245, 97, 233);
    }
 header {
    border-bottom:1px solid #f561e9;
    }
Recent Random Colors