Random Color Generator

#f2edb4 Color

Color Codes
Hex Code #f2edb4
RGB Code rgb(242, 237, 180)
HSL Code hsl(55, 70%, 83%)

#f2edb4 Color Syntax

rgb()

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

 main {
    background-color: rgb(242, 237, 180);
   }

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(55, 70%, 83%);
  }

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

RGB Code Hex Code Preview
rgb(242, 237, 180, 10%) #f2edb41a  
rgb(242, 237, 180, 20%) #f2edb433  
rgb(242, 237, 180, 40%) #f2edb44C  
rgb(242, 237, 180, 60%) #f2edb499  
rgb(242, 237, 180, 80%) #f2edb4CC  
rgb(242, 237, 180, 100%) #f2edb4FF  

Saturated and desaturated colors of #f2edb4

HSL Code Preview
hsl(55, 10%, 83%)  
hsl(55, 20%, 83%)  
hsl(55, 40%, 83%)  
hsl(55, 60%, 83%)  
hsl(55, 80%, 83%)  
hsl(55, 100%, 83%)  

#f2edb4 Color Usage In CSS

 body {
    color: #f2edb4;
    }
 p {
    color: rgb(242, 237, 180);
    }
 header {
    border-bottom:1px solid #f2edb4;
    }
Recent Random Colors