#c6e72b Color
Color Codes | |
---|---|
Hex Code | #c6e72b |
RGB Code | rgb(198, 231, 43) |
HSL Code | hsl(71, 80%, 54%) |
#c6e72b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(198, 231, 43); }
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(71, 80%, 54%); }
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 #c6e72b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(198, 231, 43, 10%) | #c6e72b1a | |
rgb(198, 231, 43, 20%) | #c6e72b33 | |
rgb(198, 231, 43, 40%) | #c6e72b4C | |
rgb(198, 231, 43, 60%) | #c6e72b99 | |
rgb(198, 231, 43, 80%) | #c6e72bCC | |
rgb(198, 231, 43, 100%) | #c6e72bFF |
Saturated and desaturated colors of #c6e72b
HSL Code | Preview |
---|---|
hsl(71, 10%, 54%) | |
hsl(71, 20%, 54%) | |
hsl(71, 40%, 54%) | |
hsl(71, 60%, 54%) | |
hsl(71, 80%, 54%) | |
hsl(71, 100%, 54%) |
#c6e72b Color Usage In CSS
body { color: #c6e72b; } p { color: rgb(198, 231, 43); } header { border-bottom:1px solid #c6e72b; }