Function to apply the new luminance values to the original image.
1 | luminanceToColour(red, green, blue, luminance, saturation = 1)
|
red |
The red channel |
green |
The green channel |
blue |
The blue channel |
luminance |
The new luminance values |
Saturation |
constant (must be > 0) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.