#ddaa27 Color
Color Codes | |
---|---|
Hex Code | #ddaa27 |
RGB Code | rgb(221, 170, 39) |
HSL Code | hsl(43, 73%, 51%) |
#ddaa27 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(221, 170, 39); }
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(43, 73%, 51%); }
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 #ddaa27
RGB Code | Hex Code | Preview |
---|---|---|
rgb(221, 170, 39, 10%) | #ddaa271a | |
rgb(221, 170, 39, 20%) | #ddaa2733 | |
rgb(221, 170, 39, 40%) | #ddaa274C | |
rgb(221, 170, 39, 60%) | #ddaa2799 | |
rgb(221, 170, 39, 80%) | #ddaa27CC | |
rgb(221, 170, 39, 100%) | #ddaa27FF |
Saturated and desaturated colors of #ddaa27
HSL Code | Preview |
---|---|
hsl(43, 10%, 51%) | |
hsl(43, 20%, 51%) | |
hsl(43, 40%, 51%) | |
hsl(43, 60%, 51%) | |
hsl(43, 80%, 51%) | |
hsl(43, 100%, 51%) |
#ddaa27 Color Usage In CSS
body { color: #ddaa27; } p { color: rgb(221, 170, 39); } header { border-bottom:1px solid #ddaa27; }