#cbc85a Color
Color Codes | |
---|---|
Hex Code | #cbc85a |
RGB Code | rgb(203, 200, 90) |
HSL Code | hsl(58, 52%, 57%) |
#cbc85a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(203, 200, 90); }
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(58, 52%, 57%); }
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 #cbc85a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(203, 200, 90, 10%) | #cbc85a1a | |
rgb(203, 200, 90, 20%) | #cbc85a33 | |
rgb(203, 200, 90, 40%) | #cbc85a4C | |
rgb(203, 200, 90, 60%) | #cbc85a99 | |
rgb(203, 200, 90, 80%) | #cbc85aCC | |
rgb(203, 200, 90, 100%) | #cbc85aFF |
Saturated and desaturated colors of #cbc85a
HSL Code | Preview |
---|---|
hsl(58, 10%, 57%) | |
hsl(58, 20%, 57%) | |
hsl(58, 40%, 57%) | |
hsl(58, 60%, 57%) | |
hsl(58, 80%, 57%) | |
hsl(58, 100%, 57%) |
#cbc85a Color Usage In CSS
body { color: #cbc85a; } p { color: rgb(203, 200, 90); } header { border-bottom:1px solid #cbc85a; }