Skip to content

1681-engine / index / mixToWhite

Function: mixToWhite() ​

ts
function mixToWhite(color, share): number;

Defined in: src/ambient/grade.ts:28

color taken share of the way from white: what a multiply sheet of that colour at that opacity leaves.

Parameters ​

ParameterType
colornumber
sharenumber

Returns ​

number

Released under the MIT License.