Random Color Generator

#2625af Color

Color Codes
Hex Code #2625af
RGB Code rgb(38, 37, 175)
HSL Code hsl(240, 65%, 42%)

#2625af Color Syntax

rgb()

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

 main {
    background-color: rgb(38, 37, 175);
   }

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(240, 65%, 42%);
  }

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 #2625af

RGB Code Hex Code Preview
rgb(38, 37, 175, 10%) #2625af1a  
rgb(38, 37, 175, 20%) #2625af33  
rgb(38, 37, 175, 40%) #2625af4C  
rgb(38, 37, 175, 60%) #2625af99  
rgb(38, 37, 175, 80%) #2625afCC  
rgb(38, 37, 175, 100%) #2625afFF  

Saturated and desaturated colors of #2625af

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

#2625af Color Usage In CSS

 body {
    color: #2625af;
    }
 p {
    color: rgb(38, 37, 175);
    }
 header {
    border-bottom:1px solid #2625af;
    }
Recent Random Colors