Random Color Generator

#f70148 Color

Color Codes
Hex Code #f70148
RGB Code rgb(247, 01, 72)
HSL Code hsl(343, 99%, 49%)

#f70148 Color Syntax

rgb()

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

 main {
    background-color: rgb(247, 01, 72);
   }

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(343, 99%, 49%);
  }

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

RGB Code Hex Code Preview
rgb(247, 01, 72, 10%) #f701481a  
rgb(247, 01, 72, 20%) #f7014833  
rgb(247, 01, 72, 40%) #f701484C  
rgb(247, 01, 72, 60%) #f7014899  
rgb(247, 01, 72, 80%) #f70148CC  
rgb(247, 01, 72, 100%) #f70148FF  

Saturated and desaturated colors of #f70148

HSL Code Preview
hsl(343, 10%, 49%)  
hsl(343, 20%, 49%)  
hsl(343, 40%, 49%)  
hsl(343, 60%, 49%)  
hsl(343, 80%, 49%)  
hsl(343, 100%, 49%)  

#f70148 Color Usage In CSS

 body {
    color: #f70148;
    }
 p {
    color: rgb(247, 01, 72);
    }
 header {
    border-bottom:1px solid #f70148;
    }
Recent Random Colors