Random Color Generator

#02b4e2 Color

Color Codes
Hex Code #02b4e2
RGB Code rgb(02, 180, 226)
HSL Code hsl(192, 98%, 45%)

#02b4e2 Color Syntax

rgb()

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

 main {
    background-color: rgb(02, 180, 226);
   }

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(192, 98%, 45%);
  }

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 #02b4e2

RGB Code Hex Code Preview
rgb(02, 180, 226, 10%) #02b4e21a  
rgb(02, 180, 226, 20%) #02b4e233  
rgb(02, 180, 226, 40%) #02b4e24C  
rgb(02, 180, 226, 60%) #02b4e299  
rgb(02, 180, 226, 80%) #02b4e2CC  
rgb(02, 180, 226, 100%) #02b4e2FF  

Saturated and desaturated colors of #02b4e2

HSL Code Preview
hsl(192, 10%, 45%)  
hsl(192, 20%, 45%)  
hsl(192, 40%, 45%)  
hsl(192, 60%, 45%)  
hsl(192, 80%, 45%)  
hsl(192, 100%, 45%)  

#02b4e2 Color Usage In CSS

 body {
    color: #02b4e2;
    }
 p {
    color: rgb(02, 180, 226);
    }
 header {
    border-bottom:1px solid #02b4e2;
    }
Recent Random Colors