Random Color Generator

#235997 Color

Color Codes
Hex Code #235997
RGB Code rgb(35, 89, 151)
HSL Code hsl(212, 62%, 36%)

#235997 Color Syntax

rgb()

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

 main {
    background-color: rgb(35, 89, 151);
   }

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(212, 62%, 36%);
  }

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 #235997

RGB Code Hex Code Preview
rgb(35, 89, 151, 10%) #2359971a  
rgb(35, 89, 151, 20%) #23599733  
rgb(35, 89, 151, 40%) #2359974C  
rgb(35, 89, 151, 60%) #23599799  
rgb(35, 89, 151, 80%) #235997CC  
rgb(35, 89, 151, 100%) #235997FF  

Saturated and desaturated colors of #235997

HSL Code Preview
hsl(212, 10%, 36%)  
hsl(212, 20%, 36%)  
hsl(212, 40%, 36%)  
hsl(212, 60%, 36%)  
hsl(212, 80%, 36%)  
hsl(212, 100%, 36%)  

#235997 Color Usage In CSS

 body {
    color: #235997;
    }
 p {
    color: rgb(35, 89, 151);
    }
 header {
    border-bottom:1px solid #235997;
    }
Recent Random Colors