#edcd31 Color
Color Codes | |
---|---|
Hex Code | #edcd31 |
RGB Code | rgb(237, 205, 49) |
HSL Code | hsl(50, 84%, 56%) |
#edcd31 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(237, 205, 49); }
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(50, 84%, 56%); }
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 #edcd31
RGB Code | Hex Code | Preview |
---|---|---|
rgb(237, 205, 49, 10%) | #edcd311a | |
rgb(237, 205, 49, 20%) | #edcd3133 | |
rgb(237, 205, 49, 40%) | #edcd314C | |
rgb(237, 205, 49, 60%) | #edcd3199 | |
rgb(237, 205, 49, 80%) | #edcd31CC | |
rgb(237, 205, 49, 100%) | #edcd31FF |
Saturated and desaturated colors of #edcd31
HSL Code | Preview |
---|---|
hsl(50, 10%, 56%) | |
hsl(50, 20%, 56%) | |
hsl(50, 40%, 56%) | |
hsl(50, 60%, 56%) | |
hsl(50, 80%, 56%) | |
hsl(50, 100%, 56%) |
#edcd31 Color Usage In CSS
body { color: #edcd31; } p { color: rgb(237, 205, 49); } header { border-bottom:1px solid #edcd31; }