#cbe722 Color
Color Codes | |
---|---|
Hex Code | #cbe722 |
RGB Code | rgb(203, 231, 34) |
HSL Code | hsl(69, 80%, 52%) |
#cbe722 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(203, 231, 34); }
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(69, 80%, 52%); }
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 #cbe722
RGB Code | Hex Code | Preview |
---|---|---|
rgb(203, 231, 34, 10%) | #cbe7221a | |
rgb(203, 231, 34, 20%) | #cbe72233 | |
rgb(203, 231, 34, 40%) | #cbe7224C | |
rgb(203, 231, 34, 60%) | #cbe72299 | |
rgb(203, 231, 34, 80%) | #cbe722CC | |
rgb(203, 231, 34, 100%) | #cbe722FF |
Saturated and desaturated colors of #cbe722
HSL Code | Preview |
---|---|
hsl(69, 10%, 52%) | |
hsl(69, 20%, 52%) | |
hsl(69, 40%, 52%) | |
hsl(69, 60%, 52%) | |
hsl(69, 80%, 52%) | |
hsl(69, 100%, 52%) |
#cbe722 Color Usage In CSS
body { color: #cbe722; } p { color: rgb(203, 231, 34); } header { border-bottom:1px solid #cbe722; }