Random Color Generator

#235ed5 Color

Color Codes
Hex Code #235ed5
RGB Code rgb(35, 94, 213)
HSL Code hsl(220, 72%, 49%)

#235ed5 Color Syntax

rgb()

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

 main {
    background-color: rgb(35, 94, 213);
   }

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(220, 72%, 49%);
  }

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 #235ed5

RGB Code Hex Code Preview
rgb(35, 94, 213, 10%) #235ed51a  
rgb(35, 94, 213, 20%) #235ed533  
rgb(35, 94, 213, 40%) #235ed54C  
rgb(35, 94, 213, 60%) #235ed599  
rgb(35, 94, 213, 80%) #235ed5CC  
rgb(35, 94, 213, 100%) #235ed5FF  

Saturated and desaturated colors of #235ed5

HSL Code Preview
hsl(220, 10%, 49%)  
hsl(220, 20%, 49%)  
hsl(220, 40%, 49%)  
hsl(220, 60%, 49%)  
hsl(220, 80%, 49%)  
hsl(220, 100%, 49%)  

#235ed5 Color Usage In CSS

 body {
    color: #235ed5;
    }
 p {
    color: rgb(35, 94, 213);
    }
 header {
    border-bottom:1px solid #235ed5;
    }
Recent Random Colors