Random Color Generator

#f28ab6 Color

Color Codes
Hex Code #f28ab6
RGB Code rgb(242, 138, 182)
HSL Code hsl(335, 80%, 75%)

#f28ab6 Color Syntax

rgb()

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

 main {
    background-color: rgb(242, 138, 182);
   }

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(335, 80%, 75%);
  }

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

RGB Code Hex Code Preview
rgb(242, 138, 182, 10%) #f28ab61a  
rgb(242, 138, 182, 20%) #f28ab633  
rgb(242, 138, 182, 40%) #f28ab64C  
rgb(242, 138, 182, 60%) #f28ab699  
rgb(242, 138, 182, 80%) #f28ab6CC  
rgb(242, 138, 182, 100%) #f28ab6FF  

Saturated and desaturated colors of #f28ab6

HSL Code Preview
hsl(335, 10%, 75%)  
hsl(335, 20%, 75%)  
hsl(335, 40%, 75%)  
hsl(335, 60%, 75%)  
hsl(335, 80%, 75%)  
hsl(335, 100%, 75%)  

#f28ab6 Color Usage In CSS

 body {
    color: #f28ab6;
    }
 p {
    color: rgb(242, 138, 182);
    }
 header {
    border-bottom:1px solid #f28ab6;
    }
Recent Random Colors