Random Color Generator

#461feb Color

Color Codes
Hex Code #461feb
RGB Code rgb(70, 31, 235)
HSL Code hsl(251, 84%, 52%)

#461feb Color Syntax

rgb()

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

 main {
    background-color: rgb(70, 31, 235);
   }

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(251, 84%, 52%);
  }

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 #461feb

RGB Code Hex Code Preview
rgb(70, 31, 235, 10%) #461feb1a  
rgb(70, 31, 235, 20%) #461feb33  
rgb(70, 31, 235, 40%) #461feb4C  
rgb(70, 31, 235, 60%) #461feb99  
rgb(70, 31, 235, 80%) #461febCC  
rgb(70, 31, 235, 100%) #461febFF  

Saturated and desaturated colors of #461feb

HSL Code Preview
hsl(251, 10%, 52%)  
hsl(251, 20%, 52%)  
hsl(251, 40%, 52%)  
hsl(251, 60%, 52%)  
hsl(251, 80%, 52%)  
hsl(251, 100%, 52%)  

#461feb Color Usage In CSS

 body {
    color: #461feb;
    }
 p {
    color: rgb(70, 31, 235);
    }
 header {
    border-bottom:1px solid #461feb;
    }
Recent Random Colors