#dabe0a Color
Color Codes | |
---|---|
Hex Code | #dabe0a |
RGB Code | rgb(218, 190, 10) |
HSL Code | hsl(52, 91%, 45%) |
#dabe0a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(218, 190, 10); }
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(52, 91%, 45%); }
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 #dabe0a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(218, 190, 10, 10%) | #dabe0a1a | |
rgb(218, 190, 10, 20%) | #dabe0a33 | |
rgb(218, 190, 10, 40%) | #dabe0a4C | |
rgb(218, 190, 10, 60%) | #dabe0a99 | |
rgb(218, 190, 10, 80%) | #dabe0aCC | |
rgb(218, 190, 10, 100%) | #dabe0aFF |
Saturated and desaturated colors of #dabe0a
HSL Code | Preview |
---|---|
hsl(52, 10%, 45%) | |
hsl(52, 20%, 45%) | |
hsl(52, 40%, 45%) | |
hsl(52, 60%, 45%) | |
hsl(52, 80%, 45%) | |
hsl(52, 100%, 45%) |
#dabe0a Color Usage In CSS
body { color: #dabe0a; } p { color: rgb(218, 190, 10); } header { border-bottom:1px solid #dabe0a; }