Random Color Generator

#bac9fa Color

Color Codes
Hex Code #bac9fa
RGB Code rgb(186, 201, 250)
HSL Code hsl(226, 86%, 85%)

#bac9fa Color Syntax

rgb()

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

 main {
    background-color: rgb(186, 201, 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(226, 86%, 85%);
  }

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

RGB Code Hex Code Preview
rgb(186, 201, 250, 10%) #bac9fa1a  
rgb(186, 201, 250, 20%) #bac9fa33  
rgb(186, 201, 250, 40%) #bac9fa4C  
rgb(186, 201, 250, 60%) #bac9fa99  
rgb(186, 201, 250, 80%) #bac9faCC  
rgb(186, 201, 250, 100%) #bac9faFF  

Saturated and desaturated colors of #bac9fa

HSL Code Preview
hsl(226, 10%, 85%)  
hsl(226, 20%, 85%)  
hsl(226, 40%, 85%)  
hsl(226, 60%, 85%)  
hsl(226, 80%, 85%)  
hsl(226, 100%, 85%)  

#bac9fa Color Usage In CSS

 body {
    color: #bac9fa;
    }
 p {
    color: rgb(186, 201, 250);
    }
 header {
    border-bottom:1px solid #bac9fa;
    }
Recent Random Colors