#ebcb3c Color
Color Codes | |
---|---|
Hex Code | #ebcb3c |
RGB Code | rgb(235, 203, 60) |
HSL Code | hsl(49, 81%, 58%) |
#ebcb3c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(235, 203, 60); }
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(49, 81%, 58%); }
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 #ebcb3c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(235, 203, 60, 10%) | #ebcb3c1a | |
rgb(235, 203, 60, 20%) | #ebcb3c33 | |
rgb(235, 203, 60, 40%) | #ebcb3c4C | |
rgb(235, 203, 60, 60%) | #ebcb3c99 | |
rgb(235, 203, 60, 80%) | #ebcb3cCC | |
rgb(235, 203, 60, 100%) | #ebcb3cFF |
Saturated and desaturated colors of #ebcb3c
HSL Code | Preview |
---|---|
hsl(49, 10%, 58%) | |
hsl(49, 20%, 58%) | |
hsl(49, 40%, 58%) | |
hsl(49, 60%, 58%) | |
hsl(49, 80%, 58%) | |
hsl(49, 100%, 58%) |
#ebcb3c Color Usage In CSS
body { color: #ebcb3c; } p { color: rgb(235, 203, 60); } header { border-bottom:1px solid #ebcb3c; }