Random Color Generator

#ffa2c6 Color

Color Codes
Hex Code #ffa2c6
RGB Code rgb(255, 162, 198)
HSL Code hsl(337, 100%, 82%)

#ffa2c6 Color Syntax

rgb()

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

 main {
    background-color: rgb(255, 162, 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(337, 100%, 82%);
  }

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

RGB Code Hex Code Preview
rgb(255, 162, 198, 10%) #ffa2c61a  
rgb(255, 162, 198, 20%) #ffa2c633  
rgb(255, 162, 198, 40%) #ffa2c64C  
rgb(255, 162, 198, 60%) #ffa2c699  
rgb(255, 162, 198, 80%) #ffa2c6CC  
rgb(255, 162, 198, 100%) #ffa2c6FF  

Saturated and desaturated colors of #ffa2c6

HSL Code Preview
hsl(337, 10%, 82%)  
hsl(337, 20%, 82%)  
hsl(337, 40%, 82%)  
hsl(337, 60%, 82%)  
hsl(337, 80%, 82%)  
hsl(337, 100%, 82%)  

#ffa2c6 Color Usage In CSS

 body {
    color: #ffa2c6;
    }
 p {
    color: rgb(255, 162, 198);
    }
 header {
    border-bottom:1px solid #ffa2c6;
    }
Recent Random Colors