#a1c331 Color
Color Codes | |
---|---|
Hex Code | #a1c331 |
RGB Code | rgb(161, 195, 49) |
HSL Code | hsl(74, 60%, 48%) |
#a1c331 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(161, 195, 49); }
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(74, 60%, 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 #a1c331
RGB Code | Hex Code | Preview |
---|---|---|
rgb(161, 195, 49, 10%) | #a1c3311a | |
rgb(161, 195, 49, 20%) | #a1c33133 | |
rgb(161, 195, 49, 40%) | #a1c3314C | |
rgb(161, 195, 49, 60%) | #a1c33199 | |
rgb(161, 195, 49, 80%) | #a1c331CC | |
rgb(161, 195, 49, 100%) | #a1c331FF |
Saturated and desaturated colors of #a1c331
HSL Code | Preview |
---|---|
hsl(74, 10%, 48%) | |
hsl(74, 20%, 48%) | |
hsl(74, 40%, 48%) | |
hsl(74, 60%, 48%) | |
hsl(74, 80%, 48%) | |
hsl(74, 100%, 48%) |
#a1c331 Color Usage In CSS
body { color: #a1c331; } p { color: rgb(161, 195, 49); } header { border-bottom:1px solid #a1c331; }