#ebb278 Color
Color Codes | |
---|---|
Hex Code | #ebb278 |
RGB Code | rgb(235, 178, 120) |
HSL Code | hsl(30, 74%, 70%) |
#ebb278 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(235, 178, 120); }
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(30, 74%, 70%); }
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 #ebb278
RGB Code | Hex Code | Preview |
---|---|---|
rgb(235, 178, 120, 10%) | #ebb2781a | |
rgb(235, 178, 120, 20%) | #ebb27833 | |
rgb(235, 178, 120, 40%) | #ebb2784C | |
rgb(235, 178, 120, 60%) | #ebb27899 | |
rgb(235, 178, 120, 80%) | #ebb278CC | |
rgb(235, 178, 120, 100%) | #ebb278FF |
Saturated and desaturated colors of #ebb278
HSL Code | Preview |
---|---|
hsl(30, 10%, 70%) | |
hsl(30, 20%, 70%) | |
hsl(30, 40%, 70%) | |
hsl(30, 60%, 70%) | |
hsl(30, 80%, 70%) | |
hsl(30, 100%, 70%) |
#ebb278 Color Usage In CSS
body { color: #ebb278; } p { color: rgb(235, 178, 120); } header { border-bottom:1px solid #ebb278; }