## shade()


Darken a base color by a relative amount.


Usage


``` python
shade(
    base,
    amount=0.2,
)
```


## Parameters


`base: str`  
Base CSS color.

`amount: float = ``0.2`  
Fraction to darken (0-1).


## Returns


`str`  
The shaded color.
