#a8e304 Color
Color Codes | |
---|---|
Hex Code | #a8e304 |
RGB Code | rgb(168, 227, 04) |
HSL Code | hsl(76, 97%, 45%) |
#a8e304 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(168, 227, 04); }
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(76, 97%, 45%); }
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 #a8e304
RGB Code | Hex Code | Preview |
---|---|---|
rgb(168, 227, 04, 10%) | #a8e3041a | |
rgb(168, 227, 04, 20%) | #a8e30433 | |
rgb(168, 227, 04, 40%) | #a8e3044C | |
rgb(168, 227, 04, 60%) | #a8e30499 | |
rgb(168, 227, 04, 80%) | #a8e304CC | |
rgb(168, 227, 04, 100%) | #a8e304FF |
Saturated and desaturated colors of #a8e304
HSL Code | Preview |
---|---|
hsl(76, 10%, 45%) | |
hsl(76, 20%, 45%) | |
hsl(76, 40%, 45%) | |
hsl(76, 60%, 45%) | |
hsl(76, 80%, 45%) | |
hsl(76, 100%, 45%) |
#a8e304 Color Usage In CSS
body { color: #a8e304; } p { color: rgb(168, 227, 04); } header { border-bottom:1px solid #a8e304; }