Random Color Generator

#f84295 Color

Color Codes
Hex Code #f84295
RGB Code rgb(248, 66, 149)
HSL Code hsl(333, 93%, 62%)

#f84295 Color Syntax

rgb()

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

 main {
    background-color: rgb(248, 66, 149);
   }

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(333, 93%, 62%);
  }

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

RGB Code Hex Code Preview
rgb(248, 66, 149, 10%) #f842951a  
rgb(248, 66, 149, 20%) #f8429533  
rgb(248, 66, 149, 40%) #f842954C  
rgb(248, 66, 149, 60%) #f8429599  
rgb(248, 66, 149, 80%) #f84295CC  
rgb(248, 66, 149, 100%) #f84295FF  

Saturated and desaturated colors of #f84295

HSL Code Preview
hsl(333, 10%, 62%)  
hsl(333, 20%, 62%)  
hsl(333, 40%, 62%)  
hsl(333, 60%, 62%)  
hsl(333, 80%, 62%)  
hsl(333, 100%, 62%)  

#f84295 Color Usage In CSS

 body {
    color: #f84295;
    }
 p {
    color: rgb(248, 66, 149);
    }
 header {
    border-bottom:1px solid #f84295;
    }
Recent Random Colors