#ddba18 Color
Color Codes | |
---|---|
Hex Code | #ddba18 |
RGB Code | rgb(221, 186, 24) |
HSL Code | hsl(49, 80%, 48%) |
#ddba18 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(221, 186, 24); }
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, 80%, 48%); }
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 #ddba18
RGB Code | Hex Code | Preview |
---|---|---|
rgb(221, 186, 24, 10%) | #ddba181a | |
rgb(221, 186, 24, 20%) | #ddba1833 | |
rgb(221, 186, 24, 40%) | #ddba184C | |
rgb(221, 186, 24, 60%) | #ddba1899 | |
rgb(221, 186, 24, 80%) | #ddba18CC | |
rgb(221, 186, 24, 100%) | #ddba18FF |
Saturated and desaturated colors of #ddba18
HSL Code | Preview |
---|---|
hsl(49, 10%, 48%) | |
hsl(49, 20%, 48%) | |
hsl(49, 40%, 48%) | |
hsl(49, 60%, 48%) | |
hsl(49, 80%, 48%) | |
hsl(49, 100%, 48%) |
#ddba18 Color Usage In CSS
body { color: #ddba18; } p { color: rgb(221, 186, 24); } header { border-bottom:1px solid #ddba18; }