Random Color Generator

#6044fb Color

Color Codes
Hex Code #6044fb
RGB Code rgb(96, 68, 251)
HSL Code hsl(249, 96%, 63%)

#6044fb Color Syntax

rgb()

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

 main {
    background-color: rgb(96, 68, 251);
   }

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(249, 96%, 63%);
  }

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 #6044fb

RGB Code Hex Code Preview
rgb(96, 68, 251, 10%) #6044fb1a  
rgb(96, 68, 251, 20%) #6044fb33  
rgb(96, 68, 251, 40%) #6044fb4C  
rgb(96, 68, 251, 60%) #6044fb99  
rgb(96, 68, 251, 80%) #6044fbCC  
rgb(96, 68, 251, 100%) #6044fbFF  

Saturated and desaturated colors of #6044fb

HSL Code Preview
hsl(249, 10%, 63%)  
hsl(249, 20%, 63%)  
hsl(249, 40%, 63%)  
hsl(249, 60%, 63%)  
hsl(249, 80%, 63%)  
hsl(249, 100%, 63%)  

#6044fb Color Usage In CSS

 body {
    color: #6044fb;
    }
 p {
    color: rgb(96, 68, 251);
    }
 header {
    border-bottom:1px solid #6044fb;
    }
Recent Random Colors