#f2e3f5 Color
Color Codes | |
---|---|
Hex Code | #f2e3f5 |
RGB Code | rgb(242, 227, 245) |
HSL Code | hsl(290, 47%, 93%) |
#f2e3f5 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(242, 227, 245); }
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(290, 47%, 93%); }
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 #f2e3f5
RGB Code | Hex Code | Preview |
---|---|---|
rgb(242, 227, 245, 10%) | #f2e3f51a | |
rgb(242, 227, 245, 20%) | #f2e3f533 | |
rgb(242, 227, 245, 40%) | #f2e3f54C | |
rgb(242, 227, 245, 60%) | #f2e3f599 | |
rgb(242, 227, 245, 80%) | #f2e3f5CC | |
rgb(242, 227, 245, 100%) | #f2e3f5FF |
Saturated and desaturated colors of #f2e3f5
HSL Code | Preview |
---|---|
hsl(290, 10%, 93%) | |
hsl(290, 20%, 93%) | |
hsl(290, 40%, 93%) | |
hsl(290, 60%, 93%) | |
hsl(290, 80%, 93%) | |
hsl(290, 100%, 93%) |
#f2e3f5 Color Usage In CSS
body { color: #f2e3f5; } p { color: rgb(242, 227, 245); } header { border-bottom:1px solid #f2e3f5; }