Random Color Generator

#3075f1 Color

Color Codes
Hex Code #3075f1
RGB Code rgb(48, 117, 241)
HSL Code hsl(219, 87%, 57%)

#3075f1 Color Syntax

rgb()

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

 main {
    background-color: rgb(48, 117, 241);
   }

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(219, 87%, 57%);
  }

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 #3075f1

RGB Code Hex Code Preview
rgb(48, 117, 241, 10%) #3075f11a  
rgb(48, 117, 241, 20%) #3075f133  
rgb(48, 117, 241, 40%) #3075f14C  
rgb(48, 117, 241, 60%) #3075f199  
rgb(48, 117, 241, 80%) #3075f1CC  
rgb(48, 117, 241, 100%) #3075f1FF  

Saturated and desaturated colors of #3075f1

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

#3075f1 Color Usage In CSS

 body {
    color: #3075f1;
    }
 p {
    color: rgb(48, 117, 241);
    }
 header {
    border-bottom:1px solid #3075f1;
    }
Recent Random Colors