Random Color Generator

#f35298 Color

Color Codes
Hex Code #f35298
RGB Code rgb(243, 82, 152)
HSL Code hsl(334, 87%, 64%)

#f35298 Color Syntax

rgb()

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

 main {
    background-color: rgb(243, 82, 152);
   }

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(334, 87%, 64%);
  }

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

RGB Code Hex Code Preview
rgb(243, 82, 152, 10%) #f352981a  
rgb(243, 82, 152, 20%) #f3529833  
rgb(243, 82, 152, 40%) #f352984C  
rgb(243, 82, 152, 60%) #f3529899  
rgb(243, 82, 152, 80%) #f35298CC  
rgb(243, 82, 152, 100%) #f35298FF  

Saturated and desaturated colors of #f35298

HSL Code Preview
hsl(334, 10%, 64%)  
hsl(334, 20%, 64%)  
hsl(334, 40%, 64%)  
hsl(334, 60%, 64%)  
hsl(334, 80%, 64%)  
hsl(334, 100%, 64%)  

#f35298 Color Usage In CSS

 body {
    color: #f35298;
    }
 p {
    color: rgb(243, 82, 152);
    }
 header {
    border-bottom:1px solid #f35298;
    }
Recent Random Colors