#dec57f Color
Color Codes | |
---|---|
Hex Code | #dec57f |
RGB Code | rgb(222, 197, 127) |
HSL Code | hsl(44, 59%, 68%) |
#dec57f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(222, 197, 127); }
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(44, 59%, 68%); }
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 #dec57f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(222, 197, 127, 10%) | #dec57f1a | |
rgb(222, 197, 127, 20%) | #dec57f33 | |
rgb(222, 197, 127, 40%) | #dec57f4C | |
rgb(222, 197, 127, 60%) | #dec57f99 | |
rgb(222, 197, 127, 80%) | #dec57fCC | |
rgb(222, 197, 127, 100%) | #dec57fFF |
Saturated and desaturated colors of #dec57f
HSL Code | Preview |
---|---|
hsl(44, 10%, 68%) | |
hsl(44, 20%, 68%) | |
hsl(44, 40%, 68%) | |
hsl(44, 60%, 68%) | |
hsl(44, 80%, 68%) | |
hsl(44, 100%, 68%) |
#dec57f Color Usage In CSS
body { color: #dec57f; } p { color: rgb(222, 197, 127); } header { border-bottom:1px solid #dec57f; }