Name | blendColor() |
||||||
---|---|---|---|---|---|---|---|
Examples |
orange = color(204, 102, 0) blue = color(0, 102, 153) orangeblueadd = blendColor(orange, blue, ADD) background(51) noStroke() fill(orange) rect(14, 20, 20, 60) fill(orangeblueadd) rect(40, 20, 20, 60) fill(blue) rect(66, 20, 20, 60) | ||||||
Description | Blends two color values together based on the blending mode given as the MODE parameter. The possible modes are described in the reference for the blend() function. | ||||||
Syntax | blendColor(c1,c2,MODE) | ||||||
Parameters |
| ||||||
Related |
blend() color() |
Updated on Mon Sep 21 15:53:24 2020.
If you see any errors or have comments, please let us know.
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License