#bad008 Color
Color Codes | |
---|---|
Hex Code | #bad008 |
RGB Code | rgb(186, 208, 08) |
HSL Code | hsl(67, 93%, 42%) |
#bad008 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(186, 208, 08); }
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(67, 93%, 42%); }
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 #bad008
RGB Code | Hex Code | Preview |
---|---|---|
rgb(186, 208, 08, 10%) | #bad0081a | |
rgb(186, 208, 08, 20%) | #bad00833 | |
rgb(186, 208, 08, 40%) | #bad0084C | |
rgb(186, 208, 08, 60%) | #bad00899 | |
rgb(186, 208, 08, 80%) | #bad008CC | |
rgb(186, 208, 08, 100%) | #bad008FF |
Saturated and desaturated colors of #bad008
HSL Code | Preview |
---|---|
hsl(67, 10%, 42%) | |
hsl(67, 20%, 42%) | |
hsl(67, 40%, 42%) | |
hsl(67, 60%, 42%) | |
hsl(67, 80%, 42%) | |
hsl(67, 100%, 42%) |
#bad008 Color Usage In CSS
body { color: #bad008; } p { color: rgb(186, 208, 08); } header { border-bottom:1px solid #bad008; }