Random Color Generator

#2521fa Color

Color Codes
Hex Code #2521fa
RGB Code rgb(37, 33, 250)
HSL Code hsl(241, 96%, 55%)

#2521fa Color Syntax

rgb()

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

 main {
    background-color: rgb(37, 33, 250);
   }

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(241, 96%, 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 #2521fa

RGB Code Hex Code Preview
rgb(37, 33, 250, 10%) #2521fa1a  
rgb(37, 33, 250, 20%) #2521fa33  
rgb(37, 33, 250, 40%) #2521fa4C  
rgb(37, 33, 250, 60%) #2521fa99  
rgb(37, 33, 250, 80%) #2521faCC  
rgb(37, 33, 250, 100%) #2521faFF  

Saturated and desaturated colors of #2521fa

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

#2521fa Color Usage In CSS

 body {
    color: #2521fa;
    }
 p {
    color: rgb(37, 33, 250);
    }
 header {
    border-bottom:1px solid #2521fa;
    }
Recent Random Colors