Random Color Generator

#4155fa Color

Color Codes
Hex Code #4155fa
RGB Code rgb(65, 85, 250)
HSL Code hsl(234, 95%, 62%)

#4155fa Color Syntax

rgb()

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

 main {
    background-color: rgb(65, 85, 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(234, 95%, 62%);
  }

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 #4155fa

RGB Code Hex Code Preview
rgb(65, 85, 250, 10%) #4155fa1a  
rgb(65, 85, 250, 20%) #4155fa33  
rgb(65, 85, 250, 40%) #4155fa4C  
rgb(65, 85, 250, 60%) #4155fa99  
rgb(65, 85, 250, 80%) #4155faCC  
rgb(65, 85, 250, 100%) #4155faFF  

Saturated and desaturated colors of #4155fa

HSL Code Preview
hsl(234, 10%, 62%)  
hsl(234, 20%, 62%)  
hsl(234, 40%, 62%)  
hsl(234, 60%, 62%)  
hsl(234, 80%, 62%)  
hsl(234, 100%, 62%)  

#4155fa Color Usage In CSS

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