# Function: shadowed()

[**lifecycle-kit**](https://jonbogaty.com/lifecycle-kit/api/readme/index.md)

***

[lifecycle-kit](https://jonbogaty.com/lifecycle-kit/api/readme/index.md) / [assemblage](https://jonbogaty.com/lifecycle-kit/api/assemblage/readme/index.md) / shadowed


# Function: shadowed() {#function-shadowed}


> **shadowed**(`light`, `coverage`): `number`

Defined in: [assemblage/shadow.ts:244](https://github.com/jbcom/lifecycle-kit/blob/074e4e7b8038d3e2de9eb44c4b5b5aee0ef02b48/src/assemblage/shadow.ts#L244)

Apply a coverage fraction to a light level.

Multiplicative rather than subtractive: a shadow removes a proportion of
whatever light was reaching a surface, so a part already facing away from
the light does not go doubly dark for being covered as well. Subtracting a
fixed amount would push the unlit side below ambient, which is exactly the
unreadable silhouette ambient exists to prevent.


## Parameters {#parameters}



### light {#light}


`number`


### coverage {#coverage}


`number`


## Returns {#returns}


`number`
