Random Color Generator

#4148f4 Color

Color Codes
Hex Code #4148f4
RGB Code rgb(65, 72, 244)
HSL Code hsl(238, 89%, 61%)

#4148f4 Color Syntax

rgb()

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

 main {
    background-color: rgb(65, 72, 244);
   }

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(238, 89%, 61%);
  }

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 #4148f4

RGB Code Hex Code Preview
rgb(65, 72, 244, 10%) #4148f41a  
rgb(65, 72, 244, 20%) #4148f433  
rgb(65, 72, 244, 40%) #4148f44C  
rgb(65, 72, 244, 60%) #4148f499  
rgb(65, 72, 244, 80%) #4148f4CC  
rgb(65, 72, 244, 100%) #4148f4FF  

Saturated and desaturated colors of #4148f4

HSL Code Preview
hsl(238, 10%, 61%)  
hsl(238, 20%, 61%)  
hsl(238, 40%, 61%)  
hsl(238, 60%, 61%)  
hsl(238, 80%, 61%)  
hsl(238, 100%, 61%)  

#4148f4 Color Usage In CSS

 body {
    color: #4148f4;
    }
 p {
    color: rgb(65, 72, 244);
    }
 header {
    border-bottom:1px solid #4148f4;
    }
Recent Random Colors