#a1b63f Color
Color Codes | |
---|---|
Hex Code | #a1b63f |
RGB Code | rgb(161, 182, 63) |
HSL Code | hsl(71, 49%, 48%) |
#a1b63f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(161, 182, 63); }
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(71, 49%, 48%); }
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 #a1b63f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(161, 182, 63, 10%) | #a1b63f1a | |
rgb(161, 182, 63, 20%) | #a1b63f33 | |
rgb(161, 182, 63, 40%) | #a1b63f4C | |
rgb(161, 182, 63, 60%) | #a1b63f99 | |
rgb(161, 182, 63, 80%) | #a1b63fCC | |
rgb(161, 182, 63, 100%) | #a1b63fFF |
Saturated and desaturated colors of #a1b63f
HSL Code | Preview |
---|---|
hsl(71, 10%, 48%) | |
hsl(71, 20%, 48%) | |
hsl(71, 40%, 48%) | |
hsl(71, 60%, 48%) | |
hsl(71, 80%, 48%) | |
hsl(71, 100%, 48%) |
#a1b63f Color Usage In CSS
body { color: #a1b63f; } p { color: rgb(161, 182, 63); } header { border-bottom:1px solid #a1b63f; }