Random Color Generator

#1c3ae3 Color

Color Codes
Hex Code #1c3ae3
RGB Code rgb(28, 58, 227)
HSL Code hsl(231, 78%, 50%)

#1c3ae3 Color Syntax

rgb()

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

 main {
    background-color: rgb(28, 58, 227);
   }

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(231, 78%, 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 #1c3ae3

RGB Code Hex Code Preview
rgb(28, 58, 227, 10%) #1c3ae31a  
rgb(28, 58, 227, 20%) #1c3ae333  
rgb(28, 58, 227, 40%) #1c3ae34C  
rgb(28, 58, 227, 60%) #1c3ae399  
rgb(28, 58, 227, 80%) #1c3ae3CC  
rgb(28, 58, 227, 100%) #1c3ae3FF  

Saturated and desaturated colors of #1c3ae3

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

#1c3ae3 Color Usage In CSS

 body {
    color: #1c3ae3;
    }
 p {
    color: rgb(28, 58, 227);
    }
 header {
    border-bottom:1px solid #1c3ae3;
    }
Recent Random Colors