Random Color Generator

#f281c6 Color

Color Codes
Hex Code #f281c6
RGB Code rgb(242, 129, 198)
HSL Code hsl(323, 81%, 73%)

#f281c6 Color Syntax

rgb()

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

 main {
    background-color: rgb(242, 129, 198);
   }

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(323, 81%, 73%);
  }

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

RGB Code Hex Code Preview
rgb(242, 129, 198, 10%) #f281c61a  
rgb(242, 129, 198, 20%) #f281c633  
rgb(242, 129, 198, 40%) #f281c64C  
rgb(242, 129, 198, 60%) #f281c699  
rgb(242, 129, 198, 80%) #f281c6CC  
rgb(242, 129, 198, 100%) #f281c6FF  

Saturated and desaturated colors of #f281c6

HSL Code Preview
hsl(323, 10%, 73%)  
hsl(323, 20%, 73%)  
hsl(323, 40%, 73%)  
hsl(323, 60%, 73%)  
hsl(323, 80%, 73%)  
hsl(323, 100%, 73%)  

#f281c6 Color Usage In CSS

 body {
    color: #f281c6;
    }
 p {
    color: rgb(242, 129, 198);
    }
 header {
    border-bottom:1px solid #f281c6;
    }
Recent Random Colors