Random Color Generator

#395af7 Color

Color Codes
Hex Code #395af7
RGB Code rgb(57, 90, 247)
HSL Code hsl(230, 92%, 60%)

#395af7 Color Syntax

rgb()

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

 main {
    background-color: rgb(57, 90, 247);
   }

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(230, 92%, 60%);
  }

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 #395af7

RGB Code Hex Code Preview
rgb(57, 90, 247, 10%) #395af71a  
rgb(57, 90, 247, 20%) #395af733  
rgb(57, 90, 247, 40%) #395af74C  
rgb(57, 90, 247, 60%) #395af799  
rgb(57, 90, 247, 80%) #395af7CC  
rgb(57, 90, 247, 100%) #395af7FF  

Saturated and desaturated colors of #395af7

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

#395af7 Color Usage In CSS

 body {
    color: #395af7;
    }
 p {
    color: rgb(57, 90, 247);
    }
 header {
    border-bottom:1px solid #395af7;
    }
Recent Random Colors