Random Color Generator

#f42dba Color

Color Codes
Hex Code #f42dba
RGB Code rgb(244, 45, 186)
HSL Code hsl(317, 90%, 57%)

#f42dba Color Syntax

rgb()

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

 main {
    background-color: rgb(244, 45, 186);
   }

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(317, 90%, 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 #f42dba

RGB Code Hex Code Preview
rgb(244, 45, 186, 10%) #f42dba1a  
rgb(244, 45, 186, 20%) #f42dba33  
rgb(244, 45, 186, 40%) #f42dba4C  
rgb(244, 45, 186, 60%) #f42dba99  
rgb(244, 45, 186, 80%) #f42dbaCC  
rgb(244, 45, 186, 100%) #f42dbaFF  

Saturated and desaturated colors of #f42dba

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

#f42dba Color Usage In CSS

 body {
    color: #f42dba;
    }
 p {
    color: rgb(244, 45, 186);
    }
 header {
    border-bottom:1px solid #f42dba;
    }
Recent Random Colors