#54b025 Color
Color Codes | |
---|---|
Hex Code | #54b025 |
RGB Code | rgb(84, 176, 37) |
HSL Code | hsl(100, 65%, 42%) |
#54b025 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(84, 176, 37); }
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(100, 65%, 42%); }
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 #54b025
RGB Code | Hex Code | Preview |
---|---|---|
rgb(84, 176, 37, 10%) | #54b0251a | |
rgb(84, 176, 37, 20%) | #54b02533 | |
rgb(84, 176, 37, 40%) | #54b0254C | |
rgb(84, 176, 37, 60%) | #54b02599 | |
rgb(84, 176, 37, 80%) | #54b025CC | |
rgb(84, 176, 37, 100%) | #54b025FF |
Saturated and desaturated colors of #54b025
HSL Code | Preview |
---|---|
hsl(100, 10%, 42%) | |
hsl(100, 20%, 42%) | |
hsl(100, 40%, 42%) | |
hsl(100, 60%, 42%) | |
hsl(100, 80%, 42%) | |
hsl(100, 100%, 42%) |
#54b025 Color Usage In CSS
body { color: #54b025; } p { color: rgb(84, 176, 37); } header { border-bottom:1px solid #54b025; }