#c5dd1a Color
Color Codes | |
---|---|
Hex Code | #c5dd1a |
RGB Code | rgb(197, 221, 26) |
HSL Code | hsl(67, 79%, 48%) |
#c5dd1a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(197, 221, 26); }
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(67, 79%, 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 #c5dd1a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(197, 221, 26, 10%) | #c5dd1a1a | |
rgb(197, 221, 26, 20%) | #c5dd1a33 | |
rgb(197, 221, 26, 40%) | #c5dd1a4C | |
rgb(197, 221, 26, 60%) | #c5dd1a99 | |
rgb(197, 221, 26, 80%) | #c5dd1aCC | |
rgb(197, 221, 26, 100%) | #c5dd1aFF |
Saturated and desaturated colors of #c5dd1a
HSL Code | Preview |
---|---|
hsl(67, 10%, 48%) | |
hsl(67, 20%, 48%) | |
hsl(67, 40%, 48%) | |
hsl(67, 60%, 48%) | |
hsl(67, 80%, 48%) | |
hsl(67, 100%, 48%) |
#c5dd1a Color Usage In CSS
body { color: #c5dd1a; } p { color: rgb(197, 221, 26); } header { border-bottom:1px solid #c5dd1a; }