Random Color Generator

#f81002 Color

Color Codes
Hex Code #f81002
RGB Code rgb(248, 16, 02)
HSL Code hsl(3, 98%, 49%)

#f81002 Color Syntax

rgb()

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

 main {
    background-color: rgb(248, 16, 02);
   }

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(3, 98%, 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 #f81002

RGB Code Hex Code Preview
rgb(248, 16, 02, 10%) #f810021a  
rgb(248, 16, 02, 20%) #f8100233  
rgb(248, 16, 02, 40%) #f810024C  
rgb(248, 16, 02, 60%) #f8100299  
rgb(248, 16, 02, 80%) #f81002CC  
rgb(248, 16, 02, 100%) #f81002FF  

Saturated and desaturated colors of #f81002

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

#f81002 Color Usage In CSS

 body {
    color: #f81002;
    }
 p {
    color: rgb(248, 16, 02);
    }
 header {
    border-bottom:1px solid #f81002;
    }
Recent Random Colors