Random Color Generator

#4672f5 Color

Color Codes
Hex Code #4672f5
RGB Code rgb(70, 114, 245)
HSL Code hsl(225, 90%, 62%)

#4672f5 Color Syntax

rgb()

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

 main {
    background-color: rgb(70, 114, 245);
   }

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(225, 90%, 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 #4672f5

RGB Code Hex Code Preview
rgb(70, 114, 245, 10%) #4672f51a  
rgb(70, 114, 245, 20%) #4672f533  
rgb(70, 114, 245, 40%) #4672f54C  
rgb(70, 114, 245, 60%) #4672f599  
rgb(70, 114, 245, 80%) #4672f5CC  
rgb(70, 114, 245, 100%) #4672f5FF  

Saturated and desaturated colors of #4672f5

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

#4672f5 Color Usage In CSS

 body {
    color: #4672f5;
    }
 p {
    color: rgb(70, 114, 245);
    }
 header {
    border-bottom:1px solid #4672f5;
    }
Recent Random Colors