#e6d418 Color
Color Codes | |
---|---|
Hex Code | #e6d418 |
RGB Code | rgb(230, 212, 24) |
HSL Code | hsl(55, 81%, 50%) |
#e6d418 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(230, 212, 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(55, 81%, 50%); }
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 #e6d418
RGB Code | Hex Code | Preview |
---|---|---|
rgb(230, 212, 24, 10%) | #e6d4181a | |
rgb(230, 212, 24, 20%) | #e6d41833 | |
rgb(230, 212, 24, 40%) | #e6d4184C | |
rgb(230, 212, 24, 60%) | #e6d41899 | |
rgb(230, 212, 24, 80%) | #e6d418CC | |
rgb(230, 212, 24, 100%) | #e6d418FF |
Saturated and desaturated colors of #e6d418
HSL Code | Preview |
---|---|
hsl(55, 10%, 50%) | |
hsl(55, 20%, 50%) | |
hsl(55, 40%, 50%) | |
hsl(55, 60%, 50%) | |
hsl(55, 80%, 50%) | |
hsl(55, 100%, 50%) |
#e6d418 Color Usage In CSS
body { color: #e6d418; } p { color: rgb(230, 212, 24); } header { border-bottom:1px solid #e6d418; }