Random Color Generator

#f127c1 Color

Color Codes
Hex Code #f127c1
RGB Code rgb(241, 39, 193)
HSL Code hsl(314, 88%, 55%)

#f127c1 Color Syntax

rgb()

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

 main {
    background-color: rgb(241, 39, 193);
   }

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(314, 88%, 55%);
  }

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

RGB Code Hex Code Preview
rgb(241, 39, 193, 10%) #f127c11a  
rgb(241, 39, 193, 20%) #f127c133  
rgb(241, 39, 193, 40%) #f127c14C  
rgb(241, 39, 193, 60%) #f127c199  
rgb(241, 39, 193, 80%) #f127c1CC  
rgb(241, 39, 193, 100%) #f127c1FF  

Saturated and desaturated colors of #f127c1

HSL Code Preview
hsl(314, 10%, 55%)  
hsl(314, 20%, 55%)  
hsl(314, 40%, 55%)  
hsl(314, 60%, 55%)  
hsl(314, 80%, 55%)  
hsl(314, 100%, 55%)  

#f127c1 Color Usage In CSS

 body {
    color: #f127c1;
    }
 p {
    color: rgb(241, 39, 193);
    }
 header {
    border-bottom:1px solid #f127c1;
    }
Recent Random Colors