Random Color Generator

#f31cb2 Color

Color Codes
Hex Code #f31cb2
RGB Code rgb(243, 28, 178)
HSL Code hsl(318, 90%, 53%)

#f31cb2 Color Syntax

rgb()

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

 main {
    background-color: rgb(243, 28, 178);
   }

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(318, 90%, 53%);
  }

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

RGB Code Hex Code Preview
rgb(243, 28, 178, 10%) #f31cb21a  
rgb(243, 28, 178, 20%) #f31cb233  
rgb(243, 28, 178, 40%) #f31cb24C  
rgb(243, 28, 178, 60%) #f31cb299  
rgb(243, 28, 178, 80%) #f31cb2CC  
rgb(243, 28, 178, 100%) #f31cb2FF  

Saturated and desaturated colors of #f31cb2

HSL Code Preview
hsl(318, 10%, 53%)  
hsl(318, 20%, 53%)  
hsl(318, 40%, 53%)  
hsl(318, 60%, 53%)  
hsl(318, 80%, 53%)  
hsl(318, 100%, 53%)  

#f31cb2 Color Usage In CSS

 body {
    color: #f31cb2;
    }
 p {
    color: rgb(243, 28, 178);
    }
 header {
    border-bottom:1px solid #f31cb2;
    }
Recent Random Colors