Random Color Generator

#f07266 Color

Color Codes
Hex Code #f07266
RGB Code rgb(240, 114, 102)
HSL Code hsl(5, 82%, 67%)

#f07266 Color Syntax

rgb()

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

 main {
    background-color: rgb(240, 114, 102);
   }

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(5, 82%, 67%);
  }

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

RGB Code Hex Code Preview
rgb(240, 114, 102, 10%) #f072661a  
rgb(240, 114, 102, 20%) #f0726633  
rgb(240, 114, 102, 40%) #f072664C  
rgb(240, 114, 102, 60%) #f0726699  
rgb(240, 114, 102, 80%) #f07266CC  
rgb(240, 114, 102, 100%) #f07266FF  

Saturated and desaturated colors of #f07266

HSL Code Preview
hsl(5, 10%, 67%)  
hsl(5, 20%, 67%)  
hsl(5, 40%, 67%)  
hsl(5, 60%, 67%)  
hsl(5, 80%, 67%)  
hsl(5, 100%, 67%)  

#f07266 Color Usage In CSS

 body {
    color: #f07266;
    }
 p {
    color: rgb(240, 114, 102);
    }
 header {
    border-bottom:1px solid #f07266;
    }
Recent Random Colors