#30d273 Color
Color Codes | |
---|---|
Hex Code | #30d273 |
RGB Code | rgb(48, 210, 115) |
HSL Code | hsl(145, 64%, 51%) |
#30d273 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(48, 210, 115); }
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(145, 64%, 51%); }
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 #30d273
RGB Code | Hex Code | Preview |
---|---|---|
rgb(48, 210, 115, 10%) | #30d2731a | |
rgb(48, 210, 115, 20%) | #30d27333 | |
rgb(48, 210, 115, 40%) | #30d2734C | |
rgb(48, 210, 115, 60%) | #30d27399 | |
rgb(48, 210, 115, 80%) | #30d273CC | |
rgb(48, 210, 115, 100%) | #30d273FF |
Saturated and desaturated colors of #30d273
HSL Code | Preview |
---|---|
hsl(145, 10%, 51%) | |
hsl(145, 20%, 51%) | |
hsl(145, 40%, 51%) | |
hsl(145, 60%, 51%) | |
hsl(145, 80%, 51%) | |
hsl(145, 100%, 51%) |
#30d273 Color Usage In CSS
body { color: #30d273; } p { color: rgb(48, 210, 115); } header { border-bottom:1px solid #30d273; }