Random Color Generator

#f53095 Color

Color Codes
Hex Code #f53095
RGB Code rgb(245, 48, 149)
HSL Code hsl(329, 91%, 57%)

#f53095 Color Syntax

rgb()

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

 main {
    background-color: rgb(245, 48, 149);
   }

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(329, 91%, 57%);
  }

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

RGB Code Hex Code Preview
rgb(245, 48, 149, 10%) #f530951a  
rgb(245, 48, 149, 20%) #f5309533  
rgb(245, 48, 149, 40%) #f530954C  
rgb(245, 48, 149, 60%) #f5309599  
rgb(245, 48, 149, 80%) #f53095CC  
rgb(245, 48, 149, 100%) #f53095FF  

Saturated and desaturated colors of #f53095

HSL Code Preview
hsl(329, 10%, 57%)  
hsl(329, 20%, 57%)  
hsl(329, 40%, 57%)  
hsl(329, 60%, 57%)  
hsl(329, 80%, 57%)  
hsl(329, 100%, 57%)  

#f53095 Color Usage In CSS

 body {
    color: #f53095;
    }
 p {
    color: rgb(245, 48, 149);
    }
 header {
    border-bottom:1px solid #f53095;
    }
Recent Random Colors