Random Color Generator

#155ffa Color

Color Codes
Hex Code #155ffa
RGB Code rgb(21, 95, 250)
HSL Code hsl(221, 96%, 53%)

#155ffa Color Syntax

rgb()

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

 main {
    background-color: rgb(21, 95, 250);
   }

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(221, 96%, 53%);
  }

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 #155ffa

RGB Code Hex Code Preview
rgb(21, 95, 250, 10%) #155ffa1a  
rgb(21, 95, 250, 20%) #155ffa33  
rgb(21, 95, 250, 40%) #155ffa4C  
rgb(21, 95, 250, 60%) #155ffa99  
rgb(21, 95, 250, 80%) #155ffaCC  
rgb(21, 95, 250, 100%) #155ffaFF  

Saturated and desaturated colors of #155ffa

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

#155ffa Color Usage In CSS

 body {
    color: #155ffa;
    }
 p {
    color: rgb(21, 95, 250);
    }
 header {
    border-bottom:1px solid #155ffa;
    }
Recent Random Colors