Random Color Generator

#125fed Color

Color Codes
Hex Code #125fed
RGB Code rgb(18, 95, 237)
HSL Code hsl(219, 86%, 50%)

#125fed Color Syntax

rgb()

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

 main {
    background-color: rgb(18, 95, 237);
   }

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, 86%, 50%);
  }

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 #125fed

RGB Code Hex Code Preview
rgb(18, 95, 237, 10%) #125fed1a  
rgb(18, 95, 237, 20%) #125fed33  
rgb(18, 95, 237, 40%) #125fed4C  
rgb(18, 95, 237, 60%) #125fed99  
rgb(18, 95, 237, 80%) #125fedCC  
rgb(18, 95, 237, 100%) #125fedFF  

Saturated and desaturated colors of #125fed

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

#125fed Color Usage In CSS

 body {
    color: #125fed;
    }
 p {
    color: rgb(18, 95, 237);
    }
 header {
    border-bottom:1px solid #125fed;
    }
Recent Random Colors