Random Color Generator

#f42bd2 Color

Color Codes
Hex Code #f42bd2
RGB Code rgb(244, 43, 210)
HSL Code hsl(310, 90%, 56%)

#f42bd2 Color Syntax

rgb()

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

 main {
    background-color: rgb(244, 43, 210);
   }

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(310, 90%, 56%);
  }

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

RGB Code Hex Code Preview
rgb(244, 43, 210, 10%) #f42bd21a  
rgb(244, 43, 210, 20%) #f42bd233  
rgb(244, 43, 210, 40%) #f42bd24C  
rgb(244, 43, 210, 60%) #f42bd299  
rgb(244, 43, 210, 80%) #f42bd2CC  
rgb(244, 43, 210, 100%) #f42bd2FF  

Saturated and desaturated colors of #f42bd2

HSL Code Preview
hsl(310, 10%, 56%)  
hsl(310, 20%, 56%)  
hsl(310, 40%, 56%)  
hsl(310, 60%, 56%)  
hsl(310, 80%, 56%)  
hsl(310, 100%, 56%)  

#f42bd2 Color Usage In CSS

 body {
    color: #f42bd2;
    }
 p {
    color: rgb(244, 43, 210);
    }
 header {
    border-bottom:1px solid #f42bd2;
    }
Recent Random Colors