Random Color Generator

#391dfd Color

Color Codes
Hex Code #391dfd
RGB Code rgb(57, 29, 253)
HSL Code hsl(248, 98%, 55%)

#391dfd Color Syntax

rgb()

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

 main {
    background-color: rgb(57, 29, 253);
   }

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(248, 98%, 55%);
  }

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 #391dfd

RGB Code Hex Code Preview
rgb(57, 29, 253, 10%) #391dfd1a  
rgb(57, 29, 253, 20%) #391dfd33  
rgb(57, 29, 253, 40%) #391dfd4C  
rgb(57, 29, 253, 60%) #391dfd99  
rgb(57, 29, 253, 80%) #391dfdCC  
rgb(57, 29, 253, 100%) #391dfdFF  

Saturated and desaturated colors of #391dfd

HSL Code Preview
hsl(248, 10%, 55%)  
hsl(248, 20%, 55%)  
hsl(248, 40%, 55%)  
hsl(248, 60%, 55%)  
hsl(248, 80%, 55%)  
hsl(248, 100%, 55%)  

#391dfd Color Usage In CSS

 body {
    color: #391dfd;
    }
 p {
    color: rgb(57, 29, 253);
    }
 header {
    border-bottom:1px solid #391dfd;
    }
Recent Random Colors