Random Color Generator

#f670d5 Color

Color Codes
Hex Code #f670d5
RGB Code rgb(246, 112, 213)
HSL Code hsl(315, 88%, 70%)

#f670d5 Color Syntax

rgb()

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

 main {
    background-color: rgb(246, 112, 213);
   }

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(315, 88%, 70%);
  }

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

RGB Code Hex Code Preview
rgb(246, 112, 213, 10%) #f670d51a  
rgb(246, 112, 213, 20%) #f670d533  
rgb(246, 112, 213, 40%) #f670d54C  
rgb(246, 112, 213, 60%) #f670d599  
rgb(246, 112, 213, 80%) #f670d5CC  
rgb(246, 112, 213, 100%) #f670d5FF  

Saturated and desaturated colors of #f670d5

HSL Code Preview
hsl(315, 10%, 70%)  
hsl(315, 20%, 70%)  
hsl(315, 40%, 70%)  
hsl(315, 60%, 70%)  
hsl(315, 80%, 70%)  
hsl(315, 100%, 70%)  

#f670d5 Color Usage In CSS

 body {
    color: #f670d5;
    }
 p {
    color: rgb(246, 112, 213);
    }
 header {
    border-bottom:1px solid #f670d5;
    }
Recent Random Colors